emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 6c08f80 09/34: Fix custom interface


From: Vitalie Spinu
Subject: [elpa] master 6c08f80 09/34: Fix custom interface
Date: Tue, 7 May 2019 16:05:25 -0400 (EDT)

branch: master
commit 6c08f80d30fd695c4da6fbdb7ed8a2254ca3cd4f
Author: Vitalie Spinu <address@hidden>
Commit: Vitalie Spinu <address@hidden>

    Fix custom interface
---
 company-math.el | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/company-math.el b/company-math.el
index c8b1c69..1690060 100644
--- a/company-math.el
+++ b/company-math.el
@@ -43,21 +43,24 @@
   "Regexp matching the prefix of the company-math symbol.
 First subgroup must match the actual symbol to be used in the
 completion."
-  :group 'company-math)
+  :group 'company-math
+  :type 'string)
 
 (defcustom company-math-allow-unicode-symbols-in-faces t
   "List of faces to allow the insertion of Unicode symbols.
-Can be t if to allow on all faces except those listed in
+When set to special value t, allow on all faces except those in
 `company-math-disallow-unicode-symbols-in-faces'."
   :group 'company-math
-  :type '(repeat symbol))
+  :type '(choice (const t)
+                (repeat :tag "Faces" symbol)))
 
 (defcustom company-math-allow-latex-symbols-in-faces '(font-latex-math-face)
   "List of faces to disallow the insertion of latex mathematical symbols.
-Can be t if to allow on all faces except those listed in
+When set to special value t, allow on all faces except those in
 `company-math-disallow-latex-symbols-in-faces'."
   :group 'company-math
-  :type '(repeat symbol))
+  :type '(choice (const t)
+                (repeat :tag "Faces" symbol)))
 
 (defcustom company-math-disallow-unicode-symbols-in-faces 
'(font-latex-math-face)
   "List of faces to disallow the insertion of Unicode symbols."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]