Fix documentation of icon-elements
* lisp/emacs-lisp/icons.el (icon-elements): The plist key it returns is `image', not `display'. (Bug#68451)
This commit is contained in:
parent
725a3f32f8
commit
78ddb32fad
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ If OBJECT is an icon, return the icon properties."
|
||||||
(defun icon-elements (name)
|
(defun icon-elements (name)
|
||||||
"Return the elements of icon NAME.
|
"Return the elements of icon NAME.
|
||||||
The elements are represented as a plist where the keys are
|
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."
|
present if the icon is represented by an image."
|
||||||
(let ((string (icon-string name)))
|
(let ((string (icon-string name)))
|
||||||
(list 'face (get-text-property 0 'face string)
|
(list 'face (get-text-property 0 'face string)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue