diff options
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. |