[Top][All Lists]

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

[elpa] master 3355f3b: Fix previous change

From: Noam Postavsky
Subject: [elpa] master 3355f3b: Fix previous change
Date: Thu, 4 Apr 2019 07:02:48 -0400 (EDT)

branch: master
commit 3355f3b2f0fd5f988b5b1127392e7d999c094b0e
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    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.
 packages/debbugs/debbugs-gnu.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/packages/debbugs/debbugs-gnu.el b/packages/debbugs/debbugs-gnu.el
index 7f87536..997d367 100644
--- a/packages/debbugs/debbugs-gnu.el
+++ b/packages/debbugs/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]