branch: externals/auctex
commit b6a30058b0b6a83c3f036b0109ddfbfe17d2070c
Author: Tassilo Horn <t...@gnu.org>
Commit: Tassilo Horn <t...@gnu.org>

    Fix compile "Error: symbol-value cannot use lexical var ‘amsenv’"
    
    * style/empheq.el (LaTeX-empheq-env): Don't call symbol-value on lexical
    variable amsenv.
---
 style/empheq.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/style/empheq.el b/style/empheq.el
index 7ca13b0..fc1716a 100644
--- a/style/empheq.el
+++ b/style/empheq.el
@@ -191,7 +191,7 @@
       TeX-grop
       (if (and ncols (not (string= ncols "")))
          (concat amsenv "=" ncols)
-       (symbol-value 'amsenv))
+       amsenv)
       TeX-grcl))
     (when (and (assoc amsenv LaTeX-label-alist)
               (LaTeX-label amsenv 'environment))

Reply via email to