Commit 8d0f97a4 authored by Glenn Morris's avatar Glenn Morris
Browse files

(declare-function): Add compatibility definition.

(password-read-and-add): Declare as a function.
parent ed8a25df
......@@ -3,8 +3,8 @@
* gnus-uu.el (gnus-uu-yenc-article): Use insert-buffer-substring.
* gnus-art.el, gnus-spec.el, gnus-sum.el, gnus-util.el:
* message.el, mm-view.el: Add declare-function compatibility
declaration.
* message.el, mm-view.el, smime.el: Add declare-function compatibility
definition.
* gnus-art.el (w3-region, w3m-region, Info-menu):
* gnus-spec.el (gnus-summary-from-or-to-or-newsgroups):
......@@ -12,7 +12,8 @@
* gnus-util.el (mm-append-to-file, w32-focus-frame):
* message.el (mail-abbrev-in-expansion-header-p):
* mm-view.el (w3-do-setup, w3-region, w3-prepare-buffer)
(w3m-detect-meta-charset, w3m-region): Declare as functions.
(w3m-detect-meta-charset, w3m-region):
* smime.el (password-read-and-add): Declare as functions.
2007-12-08 David Kastrup <dak@gnu.org>
......
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment