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.



_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to