logo       

Re: File changed during load: msg#00011

emacs.nxml.general

Subject: Re: File changed during load

Lennart Borgman writes:

> It would be nice if Emacs had some simple function for avoiding adding
> to the undo, something like (save-undo ...).

Something like this can be useful in this case, IMHO:

(defmacro save-undo-list (&rest body)
`(let ((buffer-undo-list buffer-undo-list))
,@body))

--drkm



------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a
href="http://us.ard.yahoo.com/SIG=12hfk6l6b/M=362131.6882499.7825260.1510227/D=groups/S=1706030390:TM/Y=YAHOO/EXP=1123275819/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~->


Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/emacs-nxml-mode/

<*> To unsubscribe from this group, send an email to:
emacs-nxml-mode-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/







<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise