auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] manipulating sections with auc-tex


From: Matthieu Moy
Subject: Re: [AUCTeX] manipulating sections with auc-tex
Date: Fri, 26 Aug 2005 18:28:49 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Ralf Angeli <address@hidden> 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




reply via email to

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