diff options
author | Daniel MartÃn <mardani29@yahoo.es> | 2024-01-14 15:36:16 +0100 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2024-01-14 17:03:16 +0200 |
commit | 78ddb32fadb61b3e78047400e257d57b2cff7cd8 (patch) | |
tree | 1910eb3468db3b1a453fdf7e09088e3b2176c7ce /lisp/emacs-lisp/icons.el | |
parent | 725a3f32f8ba78ac5fffcd03be5b82cbc2c1b275 (diff) | |
download | emacs-78ddb32fadb61b3e78047400e257d57b2cff7cd8.tar.gz emacs-78ddb32fadb61b3e78047400e257d57b2cff7cd8.tar.bz2 emacs-78ddb32fadb61b3e78047400e257d57b2cff7cd8.zip |
Fix documentation of icon-elements
* lisp/emacs-lisp/icons.el (icon-elements): The plist key it returns
is `image', not `display'. (Bug#68451)
Diffstat (limited to 'lisp/emacs-lisp/icons.el')
-rw-r--r-- | lisp/emacs-lisp/icons.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/icons.el b/lisp/emacs-lisp/icons.el index 1fc0e39f9fe..f9591661688 100644 --- a/lisp/emacs-lisp/icons.el +++ b/lisp/emacs-lisp/icons.el @@ -164,7 +164,7 @@ If OBJECT is an icon, return the icon properties." (defun icon-elements (name) "Return the elements of icon NAME. The elements are represented as a plist where the keys are -`string', `face' and `display'. The `image' element is only +`string', `face' and `image'. The `image' element is only present if the icon is represented by an image." (let ((string (icon-string name))) (list 'face (get-text-property 0 'face string) |