From: Eli Zaretskii Date: Thu, 23 Nov 2023 15:56:50 +0000 (+0200) Subject: ; Improve documentation of desktop.el in user manual X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=99658346d1e;p=emacs.git ; Improve documentation of desktop.el in user manual * doc/emacs/misc.texi (Saving Emacs Sessions): Mention saving minibuffer history via desktop.el. --- diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index 1f21a5be0b3..56cd95f82ba 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi @@ -2838,8 +2838,11 @@ 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. +@vindex desktop-globals-to-save If you want to save minibuffer history from one session to -another, use the @code{savehist} library. +another, use the @code{savehist} library. You can also save selected +minibuffer-history variables as part of @code{desktop-save-mode} if +you add those variables to the value of @code{desktop-globals-to-save}. @node Recursive Edit @section Recursive Editing Levels