* epa.el (epa-display-verify-result): Make it obsolete.
authorueno <ueno>
Sun, 12 Nov 2006 04:05:50 +0000 (04:05 +0000)
committerueno <ueno>
Sun, 12 Nov 2006 04:05:50 +0000 (04:05 +0000)
ChangeLog
epa.el

index ee35a6b..c49221e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,7 @@
        (epa-decrypt-region): Use it.
        (epa-verify-region): Use it.
        (epa-import-keys): Show import result.
+       (epa-display-verify-result): Make it obsolete.
 
        * epg.el (epg-start-sign-keys): Make it obsolete; signing a key is
        out of scope.
diff --git a/epa.el b/epa.el
index 63767ff..948cf8f 100644 (file)
--- a/epa.el
+++ b/epa.el
@@ -532,6 +532,10 @@ If SECRET is non-nil, list secret keys instead of public keys."
        (goto-char (point-min)))
     (message "%s" info)))
 
+(defun epa-display-verify-result (verify-result)
+  (epa-display-info (epg-verify-result-to-string verify-result)))
+(make-obsolete 'epa-display-verify-result 'epa-display-info)
+
 (defun epa-passphrase-callback-function (context key-id handback)
   (if (eq key-id 'SYM)
       (read-passwd "Passphrase for symmetric encryption: "