summaryrefslogtreecommitdiff
path: root/lisp/password-cache.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2020-11-19 06:42:46 +0100
committerStefan Kangas <stefan@marxist.se>2020-11-19 20:43:51 +0100
commit75555b5b6bc517911404fc769b02f583e40f6c35 (patch)
tree024567695b0e966474688e1955398daf26321288 /lisp/password-cache.el
parent3963aea4f4a22da0c1fb8ca8ca80b59c58373811 (diff)
downloademacs-75555b5b6bc517911404fc769b02f583e40f6c35.tar.gz
emacs-75555b5b6bc517911404fc769b02f583e40f6c35.tar.bz2
emacs-75555b5b6bc517911404fc769b02f583e40f6c35.zip
Remove some compat code for old versions and XEmacs
* lisp/ibuf-ext.el (ibuffer-old-saved-filters-warning) (ibuffer-maybe-save-stuff): Assume customize-save-variable is bound; it is autoloaded. * lisp/cedet/semantic/symref/grep.el (semantic-symref-perform-search): * lisp/password-cache.el (password-cache-remove): * lisp/cedet/semantic/bovine/el.el (semantic-dependency-tag-file): Remove Emacs 21 compat code. * lisp/cedet/semantic/sort.el (semantic-string-lessp-ci): Remove Emacs 20 compat code. * test/lisp/cedet/semantic-utest.el (semantic-utest-temp-directory): * lisp/mail/supercite.el (sc-ask): Remove XEmacs compat code. * lisp/progmodes/idlw-shell.el (idlwave-shell-mode): * lisp/progmodes/idlwave.el (idlwave-mode): Remove commented out compat code.
Diffstat (limited to 'lisp/password-cache.el')
-rw-r--r--lisp/password-cache.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/password-cache.el b/lisp/password-cache.el
index 2443f374a84..375d06c74fd 100644
--- a/lisp/password-cache.el
+++ b/lisp/password-cache.el
@@ -103,9 +103,7 @@ that a password is invalid, so that `password-read' query the
user again."
(let ((password (gethash key password-data)))
(when (stringp password)
- (if (fboundp 'clear-string)
- (clear-string password)
- (fillarray password ?_)))
+ (clear-string password))
(remhash key password-data)))
(defun password-cache-add (key password)