emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: highlight-changes-rotate-faces sets buffer modified


From: Richard Stallman
Subject: Re: address@hidden: highlight-changes-rotate-faces sets buffer modified flag]
Date: Tue, 15 May 2007 05:46:21 -0400

    Maybe we could use a macro like

    (defmacro with-buffer-undo-unmodified (&rest body)
       "Eval BODY, preserving the current buffer's modified state.
    In addition create entries to `buffer-undo-list' in order to not alter
    the buffer's modified state during undos and redos."

First let's see what is best in this specific case.
Afterward we could see if any part of it is worth generalizing.




reply via email to

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