emacs-devel
[Top][All Lists]
Advanced

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

Re: nxml-mode does not remove its overlays


From: Stefan Monnier
Subject: Re: nxml-mode does not remove its overlays
Date: Sat, 08 Mar 2008 16:02:35 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>     (unless (and (= (point-min) 1)
>                  (= (point-max) (1+ (buffer-size))))
>       (widen))

Please just use `widen'.  It's not like it's expensive of anything.


        Stefan


PS: To check if a buffer is widened, please use
(= (buffer-size) (- (point-max) (point-min)))




reply via email to

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