diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c41d1d6283a..17f6973dff4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-06-03 Glenn Morris + + * desktop.el (desktop-clear-preserve-buffers): + Add "*Warnings*" buffer. (Bug#6336) + 2010-06-02 Dan Nicolaescu * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539). diff --git a/lisp/desktop.el b/lisp/desktop.el index 0e6153cfe47..60bc044696b 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el @@ -303,10 +303,12 @@ to the value obtained by evaluating FORM." :version "22.1") (defcustom desktop-clear-preserve-buffers - '("\\*scratch\\*" "\\*Messages\\*" "\\*server\\*" "\\*tramp/.+\\*") + '("\\*scratch\\*" "\\*Messages\\*" "\\*server\\*" "\\*tramp/.+\\*" + "\\*Warnings\\*") "List of buffers that `desktop-clear' should not delete. Each element is a regular expression. Buffers with a name matched by any of these won't be deleted." + :version "23.3" ; added Warnings - bug#6336 :type '(repeat string) :group 'desktop)