From 272554a6664bc8d2039878218a5b80b1ef830d55 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 23 Dec 2016 11:36:04 +0200 Subject: [PATCH] * lisp/desktop.el (desktop-buffers-not-to-save): Doc fix. --- lisp/desktop.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.5