* savehist.el (savehist-save): Remove workaround for a read-passwd

bug that was fixed before 24.3.  Thanks to Juanma Barranquero for
noticing that the shim was still present.
This commit is contained in:
Karl Fogel 2014-04-16 14:46:36 +08:00
parent 07abb6e4c1
commit 5f6b415477
2 changed files with 7 additions and 7 deletions

View file

@ -1,3 +1,9 @@
2014-04-16 Karl Fogel <kfogel@red-bean.com>
* savehist.el (savehist-save): Remove workaround for a read-passwd
bug that was fixed before 24.3. Thanks to Juanma Barranquero for
noticing that the shim was still present.
2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
* doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
@ -125,6 +131,7 @@
* subr.el (with-silent-modifications): Don't bind deactivate-mark,
buffer-file-name, and buffer-file-truename any more.
>>>>>>> MERGE-SOURCE
2014-04-08 Leo Liu <sdl.web@gmail.com>
Use lexical-binding and require cl-lib.

View file

@ -278,13 +278,6 @@ If AUTO-SAVE is non-nil, compare the saved contents to the one last saved,
(print-level nil)
(print-readably t)
(print-quoted t))
;; During the 24.3 development, read-passwd had a bug which resulted in
;; the passwords being saved by savehist. Trim them, retroactively.
;; This code can be removed after the 24.3 release.
(dolist (sym savehist-minibuffer-history-variables)
(if (and (symbolp sym) (equal (symbol-name sym) "forget-history"))
(setq savehist-minibuffer-history-variables
(delq sym savehist-minibuffer-history-variables))))
;; Save the minibuffer histories, along with the value of
;; savehist-minibuffer-history-variables itself.
(when savehist-save-minibuffer-history