summaryrefslogtreecommitdiff
path: root/doc/emacs
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-11-23 17:56:50 +0200
committerEli Zaretskii <eliz@gnu.org>2023-11-23 17:56:50 +0200
commit99658346d1edce5248a8d8db76de772b04381e7f (patch)
tree1a075722db9f77123e605924b8cfe238ea58834b /doc/emacs
parentf7dc0202127a73f83de52b1999a7fe05dd64fff6 (diff)
downloademacs-99658346d1edce5248a8d8db76de772b04381e7f.tar.gz
emacs-99658346d1edce5248a8d8db76de772b04381e7f.tar.bz2
emacs-99658346d1edce5248a8d8db76de772b04381e7f.zip
; Improve documentation of desktop.el in user manual
* doc/emacs/misc.texi (Saving Emacs Sessions): Mention saving minibuffer history via desktop.el.
Diffstat (limited to 'doc/emacs')
-rw-r--r--doc/emacs/misc.texi5
1 files changed, 4 insertions, 1 deletions
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