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: Ralf Angeli
Subject: Re: [AUCTeX] manipulating sections with auc-tex
Date: Fri, 26 Aug 2005 13:07:51 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

* Matthieu Moy (2005-08-26) writes:

> I had no news about the following patch that I posted a
> few days ago:

Be a little more patient.  Sorting that out is on my to-do list.

>> +  (make-local-variable 'outline-heading-alist)
>> +  (setq outline-heading-alist
>> +        (mapcar (lambda (x)
>> +                  (cons (concat "\\" (nth 0 x)) (nth 1 x)))
>> +                LaTeX-section-list))

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.

-- 
Ralf




reply via email to

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