aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Abrahamsen2019-09-21 14:39:43 -0700
committerEric Abrahamsen2019-09-21 14:39:43 -0700
commita34216351f28dec2e592ce169eabea55715930f8 (patch)
treec0f1c197d1fc9615a1bb9e03aa37d865491aca06
parentb86bc62ca5c83afb53b93fccabe3dbfd30d5f6ce (diff)
downloademacs-a34216351f28dec2e592ce169eabea55715930f8.tar.gz
emacs-a34216351f28dec2e592ce169eabea55715930f8.zip
Use eieio-object-p, not obsolete object-p
Continued fixes for a81223aeaa * lisp/gnus/gnus-registry.el (gnus-registry-article-marks-to-names, gnus-registry-article-marks-to-chars): object-p is obsolete.
-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 cc932956f5a..a16017ff6d4 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."
1007;; (defalias 'gnus-user-format-function-M 'gnus-registry-article-marks-to-chars) 1007;; (defalias 'gnus-user-format-function-M 'gnus-registry-article-marks-to-chars)
1008(defun gnus-registry-article-marks-to-chars (headers) 1008(defun gnus-registry-article-marks-to-chars (headers)
1009 "Show the marks for an article by the :char property." 1009 "Show the marks for an article by the :char property."
1010 (if (object-p gnus-registry-db) 1010 (if (eieio-object-p gnus-registry-db)
1011 (let* ((id (mail-header-message-id headers)) 1011 (let* ((id (mail-header-message-id headers))
1012 (marks (when id (gnus-registry-get-id-key id 'mark)))) 1012 (marks (when id (gnus-registry-get-id-key id 'mark))))
1013 (concat (delq nil 1013 (concat (delq nil
@@ -1023,7 +1023,7 @@ Uses `gnus-registry-marks' to find what shortcuts to install."
1023;; (defalias 'gnus-user-format-function-M 'gnus-registry-article-marks-to-names) 1023;; (defalias 'gnus-user-format-function-M 'gnus-registry-article-marks-to-names)
1024(defun gnus-registry-article-marks-to-names (headers) 1024(defun gnus-registry-article-marks-to-names (headers)
1025 "Show the marks for an article by name." 1025 "Show the marks for an article by name."
1026 (if (object-p gnus-registry-db) 1026 (if (eieio-object-p gnus-registry-db)
1027 (let* ((id (mail-header-message-id headers)) 1027 (let* ((id (mail-header-message-id headers))
1028 (marks (when id (gnus-registry-get-id-key id 'mark)))) 1028 (marks (when id (gnus-registry-get-id-key id 'mark))))
1029 (mapconcat (lambda (mark) (symbol-name mark)) marks ",")) 1029 (mapconcat (lambda (mark) (symbol-name mark)) marks ","))