emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Big desktop undo buffer crashes Emacs


From: Luc Teirlinck
Subject: Re: Big desktop undo buffer crashes Emacs
Date: Thu, 11 May 2006 23:07:47 -0500 (CDT)

Stefan Monnier wrote:

   > !       (when (consp buffer-undo-list)
   > !  (setq buffer-undo-list nil))
   > !       (let ((buffer-undo-list t))
   > !  (erase-buffer)

   Why not just (buffer-disable-undo) ??

Because I want to allow people who visit the buffer to undo any
changes they deliberately or inadvertently make to it.

Sincerely,

Luc.





reply via email to

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