(epg-delete-keys): Remove redundant argument for `error'
authorhmurata <hmurata>
Fri, 24 Nov 2006 13:37:49 +0000 (13:37 +0000)
committerhmurata <hmurata>
Fri, 24 Nov 2006 13:37:49 +0000 (13:37 +0000)
and fix a close parenthesis.

ChangeLog
epg.el

index fc15ce5..6a50ed2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-11-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
+
+       * epg.el (epg-delete-keys): Remove redundant argument for `error'
+       and fix a close parenthesis.
+
 2006-11-24  Daiki Ueno  <ueno@unixuser.org>
 
        * epg.el (epg--status-GET_HIDDEN): Encode passphrase with eol-type LF.
diff --git a/epg.el b/epg.el
index 3e9bab0..2aaa58f 100644 (file)
--- a/epg.el
+++ b/epg.el
@@ -2344,8 +2344,8 @@ If you are unsure, use synchronous version of this function
          (if entry
              (if (setq entry (assq (cdr entry)
                                    epg-delete-problem-reason-alist))
-                 (error "Delete keys failed: %s" (cdr entry)))
-           (error "Delete keys failed" (cdr entry)))))
+                 (error "Delete keys failed: %s" (cdr entry))
+               (error "Delete keys failed")))))
     (epg-reset context)))
 
 ;;;###autoload