Index: auctex/latex.el
diff -u auctex/latex.el:5.381 auctex/latex.el:5.382
--- auctex/latex.el:5.381       Fri Aug 26 16:24:26 2005
+++ auctex/latex.el     Fri Aug 26 16:26:26 2005
@@ -4554,11 +4554,11 @@
   (setq outline-level 'LaTeX-outline-level)
   (make-local-variable 'outline-regexp)
   (setq outline-regexp (LaTeX-outline-regexp t))
-  (make-local-variable 'outline-heading-alist)
-  (setq outline-heading-alist
-        (mapcar (lambda (x)
-                  (cons (concat "\\" (nth 0 x)) (nth 1 x)))
-                LaTeX-section-list))
+  (when (boundp 'outline-heading-alist)
+    (setq outline-heading-alist
+         (mapcar (lambda (x)
+                   (cons (concat "\\" (nth 0 x)) (nth 1 x)))
+                 LaTeX-section-list)))
 
   (make-local-variable 'TeX-auto-full-regexp-list)
   (setq TeX-auto-full-regexp-list


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

Reply via email to