[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] Changes to auctex/latex.el
From: |
Ralf Angeli |
Subject: |
[AUCTeX-diffs] Changes to auctex/latex.el |
Date: |
Fri, 26 Aug 2005 12:26:26 -0400 |
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