aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Fogel2014-04-16 14:46:36 +0800
committerKarl Fogel2014-04-16 14:46:36 +0800
commit5f6b41547797de0997f2e757040c0f7e7dc35852 (patch)
treeb1298dd33fc71431b682ed6bfcf372852d0a5066
parent07abb6e4c13a7246b74cfc5b77d46495dcfaefd4 (diff)
downloademacs-5f6b41547797de0997f2e757040c0f7e7dc35852.tar.gz
emacs-5f6b41547797de0997f2e757040c0f7e7dc35852.zip
* 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.
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/savehist.el7
2 files changed, 7 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f60e8652d92..735b1c56c31 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12014-04-16 Karl Fogel <kfogel@red-bean.com>
2
3 * savehist.el (savehist-save): Remove workaround for a read-passwd
4 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
5 noticing that the shim was still present.
6
12014-04-14 Stefan Monnier <monnier@iro.umontreal.ca> 72014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2 8
3 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps. 9 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
@@ -125,6 +131,7 @@
125 * subr.el (with-silent-modifications): Don't bind deactivate-mark, 131 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
126 buffer-file-name, and buffer-file-truename any more. 132 buffer-file-name, and buffer-file-truename any more.
127 133
134>>>>>>> MERGE-SOURCE
1282014-04-08 Leo Liu <sdl.web@gmail.com> 1352014-04-08 Leo Liu <sdl.web@gmail.com>
129 136
130 Use lexical-binding and require cl-lib. 137 Use lexical-binding and require cl-lib.
diff --git a/lisp/savehist.el b/lisp/savehist.el
index 6abc29cccc2..26e9d0b881d 100644
--- a/lisp/savehist.el
+++ b/lisp/savehist.el
@@ -278,13 +278,6 @@ If AUTO-SAVE is non-nil, compare the saved contents to the one last saved,
278 (print-level nil) 278 (print-level nil)
279 (print-readably t) 279 (print-readably t)
280 (print-quoted t)) 280 (print-quoted t))
281 ;; During the 24.3 development, read-passwd had a bug which resulted in
282 ;; the passwords being saved by savehist. Trim them, retroactively.
283 ;; This code can be removed after the 24.3 release.
284 (dolist (sym savehist-minibuffer-history-variables)
285 (if (and (symbolp sym) (equal (symbol-name sym) "forget-history"))
286 (setq savehist-minibuffer-history-variables
287 (delq sym savehist-minibuffer-history-variables))))
288 ;; Save the minibuffer histories, along with the value of 281 ;; Save the minibuffer histories, along with the value of
289 ;; savehist-minibuffer-history-variables itself. 282 ;; savehist-minibuffer-history-variables itself.
290 (when savehist-save-minibuffer-history 283 (when savehist-save-minibuffer-history