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

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

[elpa] externals/gnorb edab89d 110/449: Be more careful about cleaning u


From: Stefan Monnier
Subject: [elpa] externals/gnorb edab89d 110/449: Be more careful about cleaning up attachments
Date: Fri, 27 Nov 2020 23:15:20 -0500 (EST)

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

    Be more careful about cleaning up attachments
    
    lisp/gnorb-gnus.el: Function `gnorb-gnus-capture-attach' should set
                    `gnorb-gnus-capture-attachments' to nil when it's
                    done, now that more functions are accessing
                    attachments.
---
 lisp/gnorb-gnus.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/gnorb-gnus.el b/lisp/gnorb-gnus.el
index a700783..8f177a3 100644
--- a/lisp/gnorb-gnus.el
+++ b/lisp/gnorb-gnus.el
@@ -201,7 +201,8 @@ save them into `gnorb-tmp-dir'."
               (file-name-nondirectory a)))
      (lambda (a) (org-attach-attach a nil 'mv))
      gnorb-gnus-capture-attachments
-     '("file" "files" "attach"))))
+     '("file" "files" "attach"))
+    (setq gnorb-gnus-capture-attachments nil)))
 
 (add-hook 'org-capture-mode-hook 'gnorb-gnus-capture-attach)
 



reply via email to

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