From: Eli Zaretskii Date: Tue, 17 Jul 2001 13:00:51 +0000 (+0000) Subject: Document display-images-p. X-Git-Tag: emacs-pretest-21.0.105~458 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=27009a49b5be402772f84799f1690286c0dd229f;p=emacs.git Document display-images-p. --- diff --git a/etc/NEWS b/etc/NEWS index 9c171c05601..78a86d8d2b9 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -3711,6 +3711,9 @@ display. Lisp programs should call these functions instead of testing the value of the variables `window-system' or `system-type', or calling platform-specific functions such as `x-display-pixel-width'. +The new function `display-images-p' returns non-nil if a particular +display can display image files. + +++ ** The minibuffer prompt is now actually inserted in the minibuffer. diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9dd7e433b1d..bf3f318f47d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,11 @@ +2001-07-17 Eli Zaretskii + + * toolbar/tool-bar.el (tool-bar-add-item-from-menu) + (tool-bar-add-item): Don't call image-related primitives if the + display doesn't support images. + + * frame.el (display-images-p): New function. + 2001-07-17 Gerd Moellmann * server.el (server-visit-files): Handle the case the specified