[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/gnus/smime.el,v
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/gnus/smime.el,v |
Date: |
Sun, 09 Dec 2007 04:09:31 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Glenn Morris <gm> 07/12/09 04:09:30
Index: smime.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/gnus/smime.el,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- smime.el 4 Dec 2007 04:06:05 -0000 1.17
+++ smime.el 9 Dec 2007 04:09:30 -0000 1.18
@@ -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 @@
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.