Fix obsolete documentation of desktop library

* doc/emacs/misc.texi (Saving Emacs Sessions): Replace
documentation of the long-deleted user option
'desktop-clear-preserve-buffers-regexp' with documentation of
'desktop-clear-preserve-buffers'.
This commit is contained in:
Stephen Berman 2025-04-03 16:53:35 +02:00
parent fd5f817882
commit ae7f65f3f9

View file

@ -2907,8 +2907,8 @@ invoking @kbd{M-x desktop-read} next. The @code{desktop-clear}
command kills all buffers except for internal ones, and clears the command kills all buffers except for internal ones, and clears the
global variables listed in @code{desktop-globals-to-clear}. If you global variables listed in @code{desktop-globals-to-clear}. If you
want it to preserve certain buffers, customize the variable want it to preserve certain buffers, customize the variable
@code{desktop-clear-preserve-buffers-regexp}, whose value is a regular @code{desktop-clear-preserve-buffers}, whose value is a list of regular
expression matching the names of buffers not to kill. expressions matching the names of buffers not to kill.
@vindex desktop-globals-to-save @vindex desktop-globals-to-save
If you want to save minibuffer history from one session to If you want to save minibuffer history from one session to