[Top][All Lists]
[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
- Small enhancement for add-log.el, Kim F. Storm, 2004/10/07
- Re: Small enhancement for add-log.el, David Kastrup, 2004/10/07
- Re: Small enhancement for add-log.el, Luc Teirlinck, 2004/10/07
- Re: Small enhancement for add-log.el, Kim F. Storm, 2004/10/11
- Re: Small enhancement for add-log.el, Juri Linkov, 2004/10/12
- Re: Small enhancement for add-log.el, Stefan Monnier, 2004/10/12
Re: Small enhancement for add-log.el, Richard Stallman, 2004/10/09