From: Eli Zaretskii Date: Fri, 23 Dec 2016 09:36:04 +0000 (+0200) Subject: * lisp/desktop.el (desktop-buffers-not-to-save): Doc fix. X-Git-Tag: emacs-25.1.91~12 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=272554a6664bc8d2039878218a5b80b1ef830d55;p=emacs.git * lisp/desktop.el (desktop-buffers-not-to-save): Doc fix. --- diff --git a/lisp/desktop.el b/lisp/desktop.el index e83891bf05d..cc1001e5a15 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el @@ -379,7 +379,10 @@ modes are restored automatically; they should not be listed here." :group 'desktop) (defcustom desktop-buffers-not-to-save "\\` " - "Regexp identifying buffers that are to be excluded from saving." + "Regexp identifying buffers that are to be excluded from saving. +This is in effect only for buffers that don't visit files. +To exclude buffers that visit files, use `desktop-files-not-to-save' +or `desktop-modes-not-to-save'." :type '(choice (const :tag "None" nil) regexp) :version "24.4" ; skip invisible temporary buffers