From 7d7a68d860eaf54e81c235952e740a8126c1cff8 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Fri, 7 Feb 2014 09:51:56 +0200 Subject: [PATCH] * lisp/desktop.el (desktop-buffers-not-to-save): Change default from nil to "\\` ". Fixes: debbugs:16651 --- lisp/ChangeLog | 5 +++++ lisp/desktop.el | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ca224a78108..a86293b6fa2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2014-02-07 Juri Linkov + + * desktop.el (desktop-buffers-not-to-save): Change default from nil + to "\\` ". (Bug#16651) + 2014-02-07 Juri Linkov * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer' diff --git a/lisp/desktop.el b/lisp/desktop.el index 161ddc717cc..be348b60a99 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el @@ -353,11 +353,11 @@ modes are restored automatically; they should not be listed here." :type '(repeat symbol) :group 'desktop) -(defcustom desktop-buffers-not-to-save nil +(defcustom desktop-buffers-not-to-save "\\` " "Regexp identifying buffers that are to be excluded from saving." :type '(choice (const :tag "None" nil) regexp) - :version "23.2" ; set to nil + :version "24.4" ; skip invisible temporary buffers :group 'desktop) ;; Skip tramp and ange-ftp files -- 2.39.2