[Top][All Lists]

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

[elpa] externals/gnorb 31304ac 151/449: Whoops, we were using that

From: Stefan Monnier
Subject: [elpa] externals/gnorb 31304ac 151/449: Whoops, we were using that
Date: Fri, 27 Nov 2020 23:15:28 -0500 (EST)

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

    Whoops, we were using that
    * lisp/gnorb-gnus.el (gnorb-gnus-outgoing-make-todo-1): msg-id needs to
      be available to the whole function.
 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 ab7ffdd..a0c9456 100644
--- a/lisp/gnorb-gnus.el
+++ b/lisp/gnorb-gnus.el
@@ -403,6 +403,7 @@ work."
                             (org-time-stamp-format t t)
                             (date-to-time date)))))
+        (msg-id (plist-get gnorb-gnus-sending-message-info :msg-id))
         ;; Convince Org we already have a link stored, even if we
         ;; don't.
         (org-capture-link-is-already-stored t))
@@ -421,7 +422,7 @@ work."
            :date date
            :date-timestamp date-ts
            :date-timestamp-inactive date-ts-ia
-           :message-id (plist-get gnorb-gnus-sending-message-info :msg-id)
+           :message-id msg-id
            :annotation link))
     (org-capture nil gnorb-gnus-new-todo-capture-key)
     (when msg-id

reply via email to

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