branch: externals/auctex
commit f73ccfe7ff0278f66b431bb372284bea37c9304b
Author: Arash Esbati <[email protected]>
Commit: Arash Esbati <[email protected]>

    * style/amsthm.el ("amsthm"): Use `LaTeX-amsthm-env-label'.
---
 style/amsthm.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/style/amsthm.el b/style/amsthm.el
index fee2843..a8cd995 100644
--- a/style/amsthm.el
+++ b/style/amsthm.el
@@ -135,7 +135,7 @@ make them available as new environments.  Update
         (let ((nthm (TeX-read-string
                      (TeX-argument-prompt nil nil "Environment"))))
           (LaTeX-add-amsthm-newtheorems nthm)
-          (LaTeX-add-environments (list nthm 'LaTeX-theorem-env-label))
+          (LaTeX-add-environments (list nthm 'LaTeX-amsthm-env-label))
           (format "%s" nthm))))
       [ TeX-arg-environment "Numbered like" ]
       t [ (TeX-arg-eval progn (if (eq (save-excursion

Reply via email to