[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: undo-information kept for *occur*
From: |
Kevin Rodgers |
Subject: |
Re: undo-information kept for *occur* |
Date: |
Sun, 25 Feb 2007 16:09:45 -0700 |
User-agent: |
Thunderbird 1.5.0.9 (Macintosh/20061207) |
Matzi Kratzi wrote:
GNU Emacs 22.0.94.1 <http://22.0.94.1> (i386-mingw-nt5.0.2195) of
2007-02-24 on LENNART-69DE564
(Lennart's unpatched version)
I use "occur" on big (> 100 MB) text-files quite often. While doing the
very nice filtering, emacs regularly, but not always, output a message
about the undo-information that prompts me to give it a yes or no
aswear. I cannot exactly remember the wording, but yes means "yes, go
along and drop the ability to undo the changes in the *occur* buffer".
Could this kind of behaviour be avoided? I can see no occasion when I
would like to undo in an *occur*-buffer.
Then you should:
(add-hook 'occur-mode-hook (lambda () (setq buffer-undo-list t)))
I have been using the cvs-versions for quite some time and this is not new.
--
Kevin Rodgers
Denver, Colorado, USA