auctex-commit
[Top][All Lists]
Advanced

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

[AUCTeX-commit] Changes to auctex/style/amsmath.el,v


From: Ralf Angeli
Subject: [AUCTeX-commit] Changes to auctex/style/amsmath.el,v
Date: Thu, 12 Apr 2007 20:46:47 +0000

CVSROOT:        /cvsroot/auctex
Module name:    auctex
Changes by:     Ralf Angeli <angeli>    07/04/12 20:46:47

Index: amsmath.el
===================================================================
RCS file: /cvsroot/auctex/auctex/style/amsmath.el,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- amsmath.el  19 Jun 2006 19:06:29 -0000      1.20
+++ amsmath.el  12 Apr 2007 20:46:46 -0000      1.21
@@ -120,9 +120,8 @@
     (TeX-run-style-hooks "amstext" "amsbsy" "amsopn")
 
     ;; If RefTeX is loaded, make it recognize the amsmath environments.
-    (if (featurep 'reftex)
-       (reftex-add-to-label-alist '(AMSTeX)))
-    )))
+    (when (fboundp 'reftex-add-to-label-alist)
+      (reftex-add-to-label-alist '(AMSTeX))))))
 
 (defun LaTeX-amsmath-env-alignat (env)
   (let ((ncols (read-string "Number of columns: ")))




reply via email to

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