changeset 94425:780f88412851

(desktop-minor-mode-table): Add `savehist-mode'.
author Juanma Barranquero <lekktu@gmail.com>
date Mon, 28 Apr 2008 08:03:18 +0000
parents 5daa3021b13a
children 7d9665dce8f4
files lisp/desktop.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/desktop.el	Mon Apr 28 07:21:58 2008 +0000
+++ b/lisp/desktop.el	Mon Apr 28 08:03:18 2008 +0000
@@ -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 @@
   '((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