1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

Close bug#6336.

* lisp/desktop.el (desktop-clear-preserve-buffers): Add "*Warnings*" buffer.
This commit is contained in:
Glenn Morris 2010-06-02 23:07:39 -07:00
parent ba3bf1d951
commit 3845c322ce
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-06-03 Glenn Morris <rgm@gnu.org>
* desktop.el (desktop-clear-preserve-buffers):
Add "*Warnings*" buffer. (Bug#6336)
2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
* vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).

View File

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