(savehist-save): Obey savehist-ignored-variables.
This commit is contained in:
parent
975900f996
commit
e2295672e8
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2007-10-30 Richard Stallman <rms@gnu.org>
|
||||
|
||||
* savehist.el (savehist-save): Obey savehist-ignored-variables.
|
||||
|
||||
2007-10-30 Nick Roberts <nickrob@snap.net.nz>
|
||||
|
||||
* progmodes/gdb-ui.el (gdb-delete-out-of-scope): New option.
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue