[Top][All Lists]

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

[elpa] externals/debbugs 4a24833 245/311: Fix previous change

From: Stefan Monnier
Subject: [elpa] externals/debbugs 4a24833 245/311: Fix previous change
Date: Sun, 29 Nov 2020 18:42:21 -0500 (EST)

branch: externals/debbugs
commit 4a248331defd20b1b665336eb26f7a830305a829
Author: Noam Postavsky <npostavs@users.sourceforge.net>
Commit: Noam Postavsky <npostavs@users.sourceforge.net>

    Fix previous change
    * packages/debbugs/debbugs-gnu.el (debbugs-gnu-make-control-message):
    Don't access debbugs-cache-data directly, debbugs-get-status already
    checks for it.  debbugs-get-status returns a list of statuses, take
    the first (and only) one.
 debbugs-gnu.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/debbugs-gnu.el b/debbugs-gnu.el
index 7f87536..997d367 100644
--- a/debbugs-gnu.el
+++ b/debbugs-gnu.el
@@ -1593,8 +1593,7 @@ removed instead."
            (when (derived-mode-p 'message-mode)
   (let* ((status (or (debbugs-gnu-current-status)
-                     (gethash bugid debbugs-cache-data)
-                     (debbugs-get-status bugid)))
+                     (car (debbugs-get-status bugid))))
           (if (and
                (member message '("close" "done"

reply via email to

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