[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 55f0a03 08/34: require cl-lib
From: |
Vitalie Spinu |
Subject: |
[elpa] master 55f0a03 08/34: require cl-lib |
Date: |
Tue, 7 May 2019 16:05:25 -0400 (EDT) |
branch: master
commit 55f0a03ea15cafa20717b61811505e1f49529037
Author: Vitalie Spinu <address@hidden>
Commit: Vitalie Spinu <address@hidden>
require cl-lib
---
company-math.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/company-math.el b/company-math.el
index b4e4c39..c8b1c69 100644
--- a/company-math.el
+++ b/company-math.el
@@ -1,6 +1,6 @@
;;; company-math.el --- Completion back-ends for for math unicode symbols and
latex tags
;;
-;; Copyright (C) 2014, Vitalie Spinu
+;; Copyright (C) 2015, Vitalie Spinu
;; Author: Vitalie Spinu
;; URL: https://github.com/vspinu/company-math
;; Keywords: Unicode, symbols, completion
@@ -32,6 +32,7 @@
(require 'math-symbol-lists)
(require 'company)
+(require 'cl-lib)
(defgroup company-math nil
"Completion back-ends for math symbols Unicode symbols and LaTeX tags."
@@ -117,7 +118,7 @@ corresponding unicode symbol."
(defun company-latex-commands (command &optional arg &rest ignored)
"Company backend for latex commands."
(interactive (list 'interactive))
- (case command
+ (cl-case command
(interactive (company-begin-backend 'company-latex-commands))
(prefix (unless (company-in-string-or-comment)
(company-math--prefix t '())))
@@ -128,7 +129,7 @@ corresponding unicode symbol."
(defun company-math-symbols-latex (command &optional arg &rest ignored)
"Company backend for LaTeX mathematical symbols."
(interactive (list 'interactive))
- (case command
+ (cl-case command
(interactive (company-begin-backend 'company-math-symbols-latex))
(prefix (unless (company-in-string-or-comment)
(company-math--prefix company-math-allow-latex-symbols-in-faces
@@ -140,7 +141,7 @@ corresponding unicode symbol."
(defun company-math-symbols-unicode (command &optional arg &rest ignored)
"Company backend for LaTeX mathematical symbols."
(interactive (list 'interactive))
- (case command
+ (cl-case command
(interactive (company-begin-backend 'company-math-symbols-unicode))
(prefix (company-math--prefix company-math-allow-unicode-symbols-in-faces
company-math-disallow-unicode-symbols-in-faces))
- [elpa] master b83eb6d 04/34: Readme, (continued)
- [elpa] master b83eb6d 04/34: Readme, Vitalie Spinu, 2019/05/07
- [elpa] master 389cebc 06/34: Looks back instead of re-search-backward, Vitalie Spinu, 2019/05/07
- [elpa] master 9c5fe4c 05/34: Readme, Vitalie Spinu, 2019/05/07
- [elpa] master c970a21 03/34: Adjust to `math-symbol-lists` name change, Vitalie Spinu, 2019/05/07
- [elpa] master 9a960df 02/34: Readme, Vitalie Spinu, 2019/05/07
- [elpa] master 7999062 01/34: Add initial stuff, Vitalie Spinu, 2019/05/07
- [elpa] master f5cedcf 12/34: Use generic `tex-mode-hook` in readme, Vitalie Spinu, 2019/05/07
- [elpa] master 8190924 07/34: [#1] Fix typo in readme, Vitalie Spinu, 2019/05/07
- [elpa] master e82c91d 10/34: Bump version, Vitalie Spinu, 2019/05/07
- [elpa] master 8e64cae 17/34: Untabify and add .dir-locals, Vitalie Spinu, 2019/05/07
- [elpa] master 55f0a03 08/34: require cl-lib,
Vitalie Spinu <=
- [elpa] master 9407824 21/34: Company doesn't like nils, remove those, Vitalie Spinu, 2019/05/07
- [elpa] master 96e55e6 20/34: [Fix #8] Don't propose Unicode completions if no Ucode, Vitalie Spinu, 2019/05/07
- [elpa] master 3c906cd 15/34: Always offer completions (workaround for company issue #476), Vitalie Spinu, 2019/05/07
- [elpa] master d0db15e 13/34: [Fix #6] Add `tex-math` to `company-math-allow-latex-symbols-in-faces`, Vitalie Spinu, 2019/05/07
- [elpa] master 26bf67b 34/34: [company-math] Merge from upstream, Vitalie Spinu, 2019/05/07
- [elpa] master a8a98e3 24/34: [Fix #11] Don't require at least one character in prefix regexp, Vitalie Spinu, 2019/05/07
- [elpa] master ce46d91 16/34: Merge pull request #7 from cpitclaudel/always-offer-completions, Vitalie Spinu, 2019/05/07
- [elpa] master 2cb03c4 23/34: Version 1.2, Vitalie Spinu, 2019/05/07
- [elpa] master 0263e9c 27/34: [Fix #12] Make default sub/super-script prefix __ and ^^, Vitalie Spinu, 2019/05/07
- [elpa] master 3481f03 32/34: Merge pull request #15 from Kaligule/patch-1, Vitalie Spinu, 2019/05/07