emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 87b7c06: Fix to a81223aeaa


From: Eric Abrahamsen
Subject: [Emacs-diffs] master 87b7c06: Fix to a81223aeaa
Date: Fri, 20 Sep 2019 20:38:37 -0400 (EDT)

branch: master
commit 87b7c069583ddccae89791b2389bd872a49bc1b0
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>

    Fix to a81223aeaa
    
    * lisp/gnus/gnus-registry.el (gnus-registry-article-marks-to-chars):
      (gnus-registry-article-marks-to-names): The registry is an object,
      not a hash table.
---
 lisp/gnus/gnus-registry.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/gnus/gnus-registry.el b/lisp/gnus/gnus-registry.el
index ff0d4ba..cc93295 100644
--- a/lisp/gnus/gnus-registry.el
+++ b/lisp/gnus/gnus-registry.el
@@ -1007,7 +1007,7 @@ Uses `gnus-registry-marks' to find what shortcuts to 
install."
 ;; (defalias 'gnus-user-format-function-M 
'gnus-registry-article-marks-to-chars)
 (defun gnus-registry-article-marks-to-chars (headers)
   "Show the marks for an article by the :char property."
-  (if (hash-table-p gnus-registry-db)
+  (if (object-p gnus-registry-db)
       (let* ((id (mail-header-message-id headers))
              (marks (when id (gnus-registry-get-id-key id 'mark))))
        (concat (delq nil
@@ -1023,7 +1023,7 @@ Uses `gnus-registry-marks' to find what shortcuts to 
install."
 ;; (defalias 'gnus-user-format-function-M 
'gnus-registry-article-marks-to-names)
 (defun gnus-registry-article-marks-to-names (headers)
   "Show the marks for an article by name."
-  (if (hash-table-p gnus-registry-db)
+  (if (object-p gnus-registry-db)
       (let* ((id (mail-header-message-id headers))
              (marks (when id (gnus-registry-get-id-key id 'mark))))
        (mapconcat (lambda (mark) (symbol-name mark)) marks ","))



reply via email to

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