From ae7f65f3f9cbe03608c9920e7f2f82a5a82e62d6 Mon Sep 17 00:00:00 2001 From: Stephen Berman Date: Thu, 3 Apr 2025 16:53:35 +0200 Subject: [PATCH] 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'. --- doc/emacs/misc.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index 5896dc83fe1..fbcb7294505 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi @@ -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 global variables listed in @code{desktop-globals-to-clear}. If you want it to preserve certain buffers, customize the variable -@code{desktop-clear-preserve-buffers-regexp}, whose value is a regular -expression matching the names of buffers not to kill. +@code{desktop-clear-preserve-buffers}, whose value is a list of regular +expressions matching the names of buffers not to kill. @vindex desktop-globals-to-save If you want to save minibuffer history from one session to