Add new function imagep
* lisp/simple.el (imagep): New function.
This commit is contained in:
parent
543b8717c7
commit
36993bb9c2
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue