OSDN Git Service

Fixed.
authorDaiki Ueno <ueno@unixuser.org>
Sat, 24 Mar 2007 09:18:13 +0000 (09:18 +0000)
committerDaiki Ueno <ueno@unixuser.org>
Sat, 24 Mar 2007 09:18:13 +0000 (09:18 +0000)
epg.el

diff --git a/epg.el b/epg.el
index 6b8e703..7993b48 100644 (file)
--- a/epg.el
+++ b/epg.el
@@ -1673,11 +1673,14 @@ This function is for internal use only."
                              "--list-sigs")))
        (coding-system-for-read 'binary)
        keys string field index)
-    (unless (listp name)
-      (setq name (list name)))
-    (while name
-      (setq args (append args (list list-keys-option (car name)))
-           name (cdr name)))
+    (if name
+       (progn
+         (unless (listp name)
+           (setq name (list name)))
+         (while name
+           (setq args (append args (list list-keys-option (car name)))
+                 name (cdr name))))
+      (setq args (append args (list list-keys-option))))
     (with-temp-buffer
       (apply #'call-process
             (if (eq (epg-context-protocol context) 'CMS)