David Kastrup <[EMAIL PROTECTED]> writes:
>>> Lute Kamstra <[EMAIL PROTECTED]> writes:
>>>
>>>> In (Emacs) Lisp mode, outline-regexp is ";;;;* [^ \t\n]\\|(" and
>>>> outline-level is lisp-outline-level:
[...]
> Ok, I did not realize that those functions were essentially hook
> functions, sorry. However, I find that within a Lisp buffer I have
>
> outline-regexp's value is ";;;;* [^ \n]\\|("
> Local in buffer loaddefs.el; global value is "[*\f]+"
[...]
> and this just barely manages to avoid matching ;;;###autoload. I am
> not sure whether this really is intentional. Especially in light of
> the lisp-outline-level definition.
>
> So while I have no clue about the matter at hand, I would just want to
> suggest that it might be possible from the look of the previous code
> that outline-regexp was intended to also match ;;;###autoload,
Yup, that's what Stefan hinted at. My bad.
> or at least that it was considered a valid possibility for a user
> customization of outline-regexp in Lisp mode. In either case it
> would not be wrong to keep the check.
Well, if you change outline-regexp, you should also check
outline-level as those variables work in concert.
Lute.
_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel