diff options
author | Eric Abrahamsen <eric@ericabrahamsen.net> | 2019-09-21 14:39:43 -0700 |
---|---|---|
committer | Eric Abrahamsen <eric@ericabrahamsen.net> | 2019-09-21 14:39:43 -0700 |
commit | a34216351f28dec2e592ce169eabea55715930f8 (patch) | |
tree | c0f1c197d1fc9615a1bb9e03aa37d865491aca06 | |
parent | b86bc62ca5c83afb53b93fccabe3dbfd30d5f6ce (diff) | |
download | emacs-a34216351f28dec2e592ce169eabea55715930f8.tar.gz emacs-a34216351f28dec2e592ce169eabea55715930f8.tar.bz2 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.el | 4 |
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." ;; (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 (object-p gnus-registry-db) + (if (eieio-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 (object-p gnus-registry-db) + (if (eieio-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 ",")) |