emacs-devel
[Top][All Lists]
Advanced

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

Re: lisp-outline-level.


From: Stefan Monnier
Subject: Re: lisp-outline-level.
Date: Sun, 13 Feb 2005 11:56:26 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

> (defun lisp-outline-level ()
>   "Lisp mode `outline-level' function."
>   (if (looking-at "(\\|;;;###autoload")
>       1000
>     (looking-at outline-regexp)
>     (- (match-end 0) (match-beginning 0))))

> This is a bit strange as outline-regexp doesn't match
> ";;;###autoload".  Shall I commit the patch below?

Why did you assume that the ;;;###autoload thingy got there by mistake?
Wouldn't it be better to fix outline-regexp?


        Stefan




reply via email to

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