* epg.el (epg-signature-to-string): Remove a trailing whitespace.
authorueno <ueno>
Mon, 10 Jul 2006 06:37:33 +0000 (06:37 +0000)
committerueno <ueno>
Mon, 10 Jul 2006 06:37:33 +0000 (06:37 +0000)
ChangeLog
epg.el

index ce55d7e..27ddb45 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2006-07-10  Daiki Ueno  <ueno@unixuser.org>
 
        * epg.el (epg--status-ERRSIG): Don't remove the last verify-result.
+       (epg-signature-to-string): Remove a trailing whitespace.
 
        * epa.el (epa-keys-mode-map): Bind return to epa-toggle-mark.
        (epa-toggle-mark): New command.
diff --git a/epg.el b/epg.el
index 350e0a1..599948f 100644 (file)
--- a/epg.el
+++ b/epg.el
@@ -759,15 +759,14 @@ This function is for internal use only."
           ((eq (epg-signature-status signature) 'no-pubkey)
            "No public key for "))
      (epg-signature-key-id signature)
-     " "
      (if user-id
-        (concat (if (stringp user-id)
+        (concat " "
+                (if (stringp user-id)
                     user-id
-                  (epg-decode-dn user-id))
-                " ")
+                  (epg-decode-dn user-id)))
        "")
      (if (epg-signature-validity signature)
-        (format "(trust %s)"  (epg-signature-validity signature))
+        (format " (trust %s)"  (epg-signature-validity signature))
        ""))))
 
 (defun epg-verify-result-to-string (verify-result)