diff options
| author | Richard M. Stallman | 1999-04-08 19:08:22 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1999-04-08 19:08:22 +0000 |
| commit | 418cb80df259e83cd7b365eb71fbb9700c439a97 (patch) | |
| tree | cbcde51005b289367776c4a7be5cc83544d42c14 | |
| parent | ff88af3794f628e526b254192e7359e591355bae (diff) | |
| download | emacs-418cb80df259e83cd7b365eb71fbb9700c439a97.tar.gz emacs-418cb80df259e83cd7b365eb71fbb9700c439a97.zip | |
(nnmail-read-passwd): Use read-passwd if that is defined.
| -rw-r--r-- | lisp/gnus/nnmail.el | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/gnus/nnmail.el b/lisp/gnus/nnmail.el index 056600b8255..4774f2fc3a8 100644 --- a/lisp/gnus/nnmail.el +++ b/lisp/gnus/nnmail.el | |||
| @@ -1689,11 +1689,13 @@ If ARGS, PROMPT is used as an argument to `format'." | |||
| 1689 | (apply 'format prompt args) | 1689 | (apply 'format prompt args) |
| 1690 | prompt))) | 1690 | prompt))) |
| 1691 | (unless nnmail-read-passwd | 1691 | (unless nnmail-read-passwd |
| 1692 | (if (load "passwd" t) | 1692 | (if (fboundp 'read-passwd) |
| 1693 | (setq nnmail-read-passwd 'read-passwd) | 1693 | (setq nnmail-read-passwd 'read-passwd) |
| 1694 | (unless (fboundp 'ange-ftp-read-passwd) | 1694 | (if (load "passwd" t) |
| 1695 | (autoload 'ange-ftp-read-passwd "ange-ftp")) | 1695 | (setq nnmail-read-passwd 'read-passwd) |
| 1696 | (setq nnmail-read-passwd 'ange-ftp-read-passwd))) | 1696 | (unless (fboundp 'ange-ftp-read-passwd) |
| 1697 | (autoload 'ange-ftp-read-passwd "ange-ftp")) | ||
| 1698 | (setq nnmail-read-passwd 'ange-ftp-read-passwd)))) | ||
| 1697 | (funcall nnmail-read-passwd prompt))) | 1699 | (funcall nnmail-read-passwd prompt))) |
| 1698 | 1700 | ||
| 1699 | (defun nnmail-check-syntax () | 1701 | (defun nnmail-check-syntax () |