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: David Kastrup
Subject: Re: [AUCTeX] manipulating sections with auc-tex
Date: Fri, 26 Aug 2005 14:58:47 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Ralf Angeli <address@hidden> writes:

> * 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.

That's not a problem.  It is merely redundant.

> 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.

Why not?

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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