projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
543b871
)
Add new function imagep
author
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 13 Sep 2022 13:49:18 +0000
(15:49 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 13 Sep 2022 13:53:42 +0000
(15:53 +0200)
* lisp/simple.el (imagep): New function.
lisp/simple.el
patch
|
blob
|
history
diff --git
a/lisp/simple.el
b/lisp/simple.el
index 60f2ad345289d9fa759c48c53c468ec87db23518..85c43df2f51adf14408108ea533c8ad463818b1e 100644
(file)
--- a/
lisp/simple.el
+++ b/
lisp/simple.el
@@
-10717,6
+10717,10
@@
If the buffer doesn't exist, create it first."
(plist-put plist prop val #'equal))
\f
+(defun imagep (object)
+ "Return non-nil if OBJECT is an image."
+ (and (consp object) (eq (car object) 'image)))
+
(provide 'simple)
;;; simple.el ends here