emacs-devel
[Top][All Lists]
Advanced

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

Re: man page not found


From: Stefan Monnier
Subject: Re: man page not found
Date: Wed, 09 May 2007 10:38:31 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

> !       ;; The last line doesn't belong to any section.
> !       (forward-line -1))))

Are we 100% sure that the last line never belongs to any section?
Could we put at least some sanity check there.  E.g. it seems this
footer we want to skip always starts at column 0, so maybe we could just do

       (if (save-excursion (forward-line (if (bolp) -1 0))
                           (looking-at "[^ \t]"))
         ;; The last line is a footer.
         (forward-line -1))))


-- Stefan




reply via email to

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