Mercurial > emacs
changeset 108932:21c602686f38
Close bug#6336.
* lisp/desktop.el (desktop-clear-preserve-buffers): Add "*Warnings*" buffer.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 02 Jun 2010 23:07:39 -0700 |
parents | b3a058f166f0 |
children | b465aa3255ed |
files | lisp/ChangeLog lisp/desktop.el |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Wed Jun 02 13:26:31 2010 -0400 +++ b/lisp/ChangeLog Wed Jun 02 23:07:39 2010 -0700 @@ -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).
--- a/lisp/desktop.el Wed Jun 02 13:26:31 2010 -0400 +++ b/lisp/desktop.el Wed Jun 02 23:07:39 2010 -0700 @@ -303,10 +303,12 @@ :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)