diff options
author | Miles Bader <miles@gnu.org> | 2007-11-09 09:45:30 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 2007-11-09 09:45:30 +0000 |
commit | c12ecb0af9679cc0e2fa0409931c34c035763469 (patch) | |
tree | bd118c7ebc571de0dab542f48ad0c1648c6ccf72 /lisp/savehist.el | |
parent | e83d1fe87564d06d2fcbb4006dfd9133bc340aa8 (diff) | |
parent | 9d2185d10e3da9062672d96d3b59fcea31ff17ed (diff) | |
download | emacs-c12ecb0af9679cc0e2fa0409931c34c035763469.tar.gz emacs-c12ecb0af9679cc0e2fa0409931c34c035763469.tar.bz2 emacs-c12ecb0af9679cc0e2fa0409931c34c035763469.zip |
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-923
Diffstat (limited to 'lisp/savehist.el')
-rw-r--r-- | lisp/savehist.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/savehist.el b/lisp/savehist.el index 7cc56842d4b..705be69088d 100644 --- a/lisp/savehist.el +++ b/lisp/savehist.el @@ -308,7 +308,8 @@ If AUTO-SAVE is non-nil, compare the saved contents to the one last saved, (current-buffer)) (insert ?\n) (dolist (symbol savehist-minibuffer-history-variables) - (when (boundp symbol) + (when (and (boundp symbol) + (not (memq symbol savehist-ignored-variables))) (let ((value (savehist-trim-history (symbol-value symbol))) excess-space) (when value ; Don't save empty histories. |