diff options
author | Richard M. Stallman <rms@gnu.org> | 2007-10-30 08:24:30 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2007-10-30 08:24:30 +0000 |
commit | e2295672e81cde202fc81a5bb53b0400f11727c1 (patch) | |
tree | d057cae03a20803e84b97cb853e29ce64f3cbd68 /lisp/savehist.el | |
parent | 975900f996d539e230371efdc11fe149a5c4d5aa (diff) | |
download | emacs-e2295672e81cde202fc81a5bb53b0400f11727c1.tar.gz |
(savehist-save): Obey savehist-ignored-variables.
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 b28bd476933..355762d9f3e 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. |