branch: externals/company-math
commit b6d2b77ff371bc11af2f4fda4fcf9c75610841cd
Author: Vitalie Spinu <[email protected]>
Commit: Vitalie Spinu <[email protected]>

    Typo: use correct variable name during initalization
---
 company-math.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/company-math.el b/company-math.el
index 34d73e965b..64fa43e788 100644
--- a/company-math.el
+++ b/company-math.el
@@ -68,7 +68,7 @@ in a new Emacs session."
   (regexp-quote company-math-symbol-prefix))
 (defvar company-math--unicode-prefix-regex
   (let ((psym (regexp-quote company-math-symbol-prefix))
-        (psub (when company-math-symbol-prefix
+        (psub (when company-math-subscript-prefix
                 (concat "\\|" (regexp-quote company-math-subscript-prefix))))
         (psup (when company-math-superscript-prefix
                 (concat "\\|" (regexp-quote 
company-math-superscript-prefix)))))

Reply via email to