Subject: Re: bug#77493: 30.1.50; Obsolete documentation of desktop library
From: Stephen Berman <[email-masked]>
To: Stephen Berman via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <[email-masked]>
Cc: [email-masked]
Date: Thu, 03 Apr 2025 16:56:09 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

On Thu, 03 Apr 2025 16:50:06 +0200 Stephen Berman via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <[email-masked]> wrote:

> In the Emacs manual, node "(emacs) Saving Emacs Sessions" refers to a
> no longer existing variable; the following patch corrects this:
>
> 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 @@ Saving Emacs Sessions
>  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
>
>
> I'll push this to emacs-30 when I get a bug number.  [...]

Done in commit ae7f65f3f9c and closing the bug.

Steve Berman