>> !       (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.

That's what I understood, but why?
Actually, a better question is: why is it called "*desktop*" rather
than " *desktop*"?
Calling it " *desktop*" would not just hide the buffer but would also
disable undo.  It's an internal buffer, after all, that normal users aren't
supposed to display or edit.


        Stefan


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

Reply via email to