From 99658346d1edce5248a8d8db76de772b04381e7f Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 23 Nov 2023 17:56:50 +0200 Subject: [PATCH] ; Improve documentation of desktop.el in user manual * doc/emacs/misc.texi (Saving Emacs Sessions): Mention saving minibuffer history via desktop.el. --- doc/emacs/misc.texi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.5