branch: externals/auctex commit c21aff6a4abe753e7b1756d866326b84027c4425 Author: Arash Esbati <ar...@gnu.org> Commit: Arash Esbati <ar...@gnu.org>
; 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