projects
/
elisp
/
gnus.git-
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f605c2b
)
(pop3-read-passwd): Check bounded function, before load file.
author
keiichi
<keiichi>
Thu, 23 Dec 1999 10:24:42 +0000
(10:24 +0000)
committer
keiichi
<keiichi>
Thu, 23 Dec 1999 10:24:42 +0000
(10:24 +0000)
lisp/pop3.el
patch
|
blob
|
history
diff --git
a/lisp/pop3.el
b/lisp/pop3.el
index
c19a77f
..
fb9cb2f
100644
(file)
--- a/
lisp/pop3.el
+++ b/
lisp/pop3.el
@@
-191,7
+191,7
@@
Return the response string if optional second argument is non-nil."
(defvar pop3-read-passwd nil)
(defun pop3-read-passwd (prompt)
(if (not pop3-read-passwd)
- (if (load "passwd" t)
+ (if (or (fboundp 'read-passwd) (load "passwd" t))
(setq pop3-read-passwd 'read-passwd)
(autoload 'ange-ftp-read-passwd "ange-ftp")
(setq pop3-read-passwd 'ange-ftp-read-passwd)))