diff options
author | Glenn Morris <rgm@gnu.org> | 2007-12-09 04:10:26 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2007-12-09 04:10:26 +0000 |
commit | 8d0f97a4a39b2624476ccc52452299fef53d1dc7 (patch) | |
tree | c7d0f545e62863e3bacfc0f9d4ac0f0047df936c /lisp/gnus/smime.el | |
parent | ed8a25dfa1cb441e81333968f7a5bc8852f5e3b8 (diff) | |
download | emacs-8d0f97a4a39b2624476ccc52452299fef53d1dc7.tar.gz |
(declare-function): Add compatibility definition.
(password-read-and-add): Declare as a function.
Diffstat (limited to 'lisp/gnus/smime.el')
-rw-r--r-- | lisp/gnus/smime.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/gnus/smime.el b/lisp/gnus/smime.el index 31545c16044..bd9ce5a5c46 100644 --- a/lisp/gnus/smime.el +++ b/lisp/gnus/smime.el @@ -121,6 +121,9 @@ ;;; Code: +;; For Emacs < 22.2. +(eval-and-compile + (unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))) (require 'dig) (or (require 'password-cache nil t) (require 'password)) @@ -257,6 +260,7 @@ must be set in `ldap-host-parameters-alist'." temporary-file-directory)))))) ;; Password dialog function +(declare-function password-read-and-add "password-cache" (prompt &optional key)) (defun smime-ask-passphrase (&optional cache-key) "Asks the passphrase to unlock the secret key. |