Add new function imagep

* lisp/simple.el (imagep): New function.
This commit is contained in:
Lars Ingebrigtsen 2022-09-13 15:49:18 +02:00
parent 543b8717c7
commit 36993bb9c2

View file

@ -10717,6 +10717,10 @@ If the buffer doesn't exist, create it first."
(plist-put plist prop val #'equal))
(defun imagep (object)
"Return non-nil if OBJECT is an image."
(and (consp object) (eq (car object) 'image)))
(provide 'simple)
;;; simple.el ends here