branch: master commit 6c08f80d30fd695c4da6fbdb7ed8a2254ca3cd4f Author: Vitalie Spinu <spinu...@gmail.com> Commit: Vitalie Spinu <spinu...@gmail.com>
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."