[Top][All Lists]

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

Re: undo-information kept for *occur*

From: Stefan Monnier
Subject: Re: undo-information kept for *occur*
Date: Sun, 25 Feb 2007 23:36:23 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.94 (gnu/linux)

>> 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)))

This answers the question, but not the subsequent remark.  I agre with the
OP that Occur should not keep track of undo info at all.


reply via email to

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