summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Abrahamsen <eric@ericabrahamsen.net>2019-09-20 17:38:03 -0700
committerEric Abrahamsen <eric@ericabrahamsen.net>2019-09-20 17:38:03 -0700
commit87b7c069583ddccae89791b2389bd872a49bc1b0 (patch)
tree2b0dc2f439bfc2905d753283ec95848a8b9cd481
parent7828001aef134bf3a062edcea92cd0ce0dac407e (diff)
downloademacs-87b7c069583ddccae89791b2389bd872a49bc1b0.tar.gz
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.
-rw-r--r--lisp/gnus/gnus-registry.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/gnus/gnus-registry.el b/lisp/gnus/gnus-registry.el
index ff0d4bad715..cc932956f5a 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 ","))