Ralf Angeli <[EMAIL PROTECTED]> writes: > I already saw two problems: First, `outline-heading-alist' is made > buffer-local in outline.el, so a `make-local-variable' is unnecessary. > Second, the variable is not defined in older versions of outline.el, > e.g. in Emacs 21, and therefore should not be set in such cases.
Then, the patch becomes: --- latex.el 2005-08-26 18:26:17.000000000 +0200 +++ latex.el.orig 2005-08-22 21:15:14.000000000 +0200 @@ -4366,11 +4291,6 @@ (setq outline-level 'LaTeX-outline-level) (make-local-variable 'outline-regexp) (setq outline-regexp (LaTeX-outline-regexp t)) - (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 -- Matthieu _______________________________________________ auctex mailing list [email protected] http://lists.gnu.org/mailman/listinfo/auctex
