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

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

[elpa] externals/auctex c21aff6 31/95: ; Add `LaTeX-equation-label' as s


From: Tassilo Horn
Subject: [elpa] externals/auctex c21aff6 31/95: ; Add `LaTeX-equation-label' as symbol to `LaTeX-label-alist'
Date: Sun, 16 Apr 2017 01:26:49 -0400 (EDT)

branch: externals/auctex
commit c21aff6a4abe753e7b1756d866326b84027c4425
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>

    ; Add `LaTeX-equation-label' as symbol to `LaTeX-label-alist'
    
    * style/breqn.el ("breqn"): Add `LaTeX-equation-label' as a symbol
    to `LaTeX-label-alist' for breqn environments.
---
 style/breqn.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/style/breqn.el b/style/breqn.el
index 742bd5f..8006082 100644
--- a/style/breqn.el
+++ b/style/breqn.el
@@ -137,7 +137,7 @@ Keys offered for key=val query depend on ENV.  \"label\" and
    ;; Tell AUCTeX that we want to prefix the labels with 
`LaTeX-equation-label':
    (let ((envs '("dmath"  "dseries" "dgroup" "darray")))
      (dolist (env envs)
-       (add-to-list 'LaTeX-label-alist (cons env LaTeX-equation-label) t)))
+       (add-to-list 'LaTeX-label-alist `(,env . LaTeX-equation-label) t)))
 
    ;; For RefTeX, we must distinguish between equation and eqnarray-like:
    ;; breqn env == equivalent -- starred



reply via email to

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