Commit a3421635 authored by Eric Abrahamsen's avatar Eric Abrahamsen

Use eieio-object-p, not obsolete object-p

Continued fixes for a81223ae

* lisp/gnus/gnus-registry.el (gnus-registry-article-marks-to-names,
  gnus-registry-article-marks-to-chars): object-p is obsolete.
parent b86bc62c
Pipeline #3245 failed with stage
in 90 minutes and 1 second
......@@ -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 ","))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment