emacs-devel
[Top][All Lists]
Advanced

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

Re: Small enhancement for add-log.el


From: Kim F. Storm
Subject: Re: Small enhancement for add-log.el
Date: Fri, 08 Oct 2004 15:54:40 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

Stefan <address@hidden> writes:

>> Is there some way to implement a first-user-change-hook ?
>
> I used (null buffer-undo-list) the only time I needed something like that.
> But that was in the minibuffer, so I don't how well it'll work in your case,

Nice trick!  Thanks.

But does first-change-hook really what we expect if font-lock is on?

Would it make sense to have something like

  (let ((inhibit-buffer-modif-change t))
    (add-text-properties ...))

that font-lock could use instead of using restore-buffer-modified-p.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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