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: ")))


_______________________________________________
auctex-commit mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-commit

Reply via email to