emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/gnorb b95f371 186/449: That's not how you use condition


From: Stefan Monnier
Subject: [elpa] externals/gnorb b95f371 186/449: That's not how you use condition-case
Date: Fri, 27 Nov 2020 23:15:35 -0500 (EST)

branch: externals/gnorb
commit b95f371dd69662afaca2f656706883dc3691be94
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>

    That's not how you use condition-case
    
    * lisp/gnorb-gnus.el (gnorb-gnus-capture-abort-cleanup): Extra layer of
      list.
---
 lisp/gnorb-gnus.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/gnorb-gnus.el b/lisp/gnorb-gnus.el
index ec8aa3a..15eb2c0 100644
--- a/lisp/gnorb-gnus.el
+++ b/lisp/gnorb-gnus.el
@@ -232,8 +232,8 @@ save them into `gnorb-tmp-dir'."
               (setq abort-note 'clean)
               ;; remove any gnorb-mail-header values here
               )
-      ((error
-       (setq abort-note 'dirty))))))
+      (error
+       (setq abort-note 'dirty)))))
 
 (add-hook 'org-capture-prepare-finalize-hook
          'gnorb-gnus-capture-abort-cleanup)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]