summaryrefslogtreecommitdiff
path: root/lisp/desktop.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2008-04-28 08:06:51 +0000
committerJuanma Barranquero <lekktu@gmail.com>2008-04-28 08:06:51 +0000
commitfb8a6326537d41cabfbb8528dbc5fcfbb65c2f0f (patch)
tree34807382c47c28a3defd93cebbc9da504ad6d72c /lisp/desktop.el
parent96cfaafc9c432f8965f66d004cc628bacdcceecf (diff)
downloademacs-fb8a6326537d41cabfbb8528dbc5fcfbb65c2f0f.tar.gz
(desktop-minor-mode-table): Add `savehist-mode'.
Diffstat (limited to 'lisp/desktop.el')
-rw-r--r--lisp/desktop.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/desktop.el b/lisp/desktop.el
index b126925c467..7aa360cc479 100644
--- a/lisp/desktop.el
+++ b/lisp/desktop.el
@@ -84,7 +84,7 @@
;; (add-to-list 'desktop-minor-mode-handlers
;; '(bar-mode . bar-desktop-restore))
-;; in the module itself, and make shure that the mode function is
+;; in the module itself, and make sure that the mode function is
;; autoloaded. See the docstrings of `desktop-buffer-mode-handlers' and
;; `desktop-minor-mode-handlers' for more info.
@@ -456,7 +456,8 @@ Furthermore the major mode function must be autoloaded.")
'((auto-fill-function auto-fill-mode)
(vc-mode nil)
(vc-dired-mode nil)
- (erc-track-minor-mode nil))
+ (erc-track-minor-mode nil)
+ (savehist-mode nil))
"Table mapping minor mode variables to minor mode functions.
Each entry has the form (NAME RESTORE-FUNCTION).
NAME is the name of the buffer-local variable indicating that the minor