summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/icons.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2022-09-24 20:17:28 +0300
committerJuri Linkov <juri@linkov.net>2022-09-24 20:17:28 +0300
commit8574ae625e3144d92bb59a0107a4404cc3d0ab86 (patch)
tree31283f0a0dd25126f2798d5f9b431bc4faa7b556 /lisp/emacs-lisp/icons.el
parent4c66a4addcc1e282f73f77ad11a1c14093c21d07 (diff)
downloademacs-8574ae625e3144d92bb59a0107a4404cc3d0ab86.tar.gz
emacs-8574ae625e3144d92bb59a0107a4404cc3d0ab86.tar.bz2
emacs-8574ae625e3144d92bb59a0107a4404cc3d0ab86.zip
* lisp/emacs-lisp/icons.el (icons--create): Use default rotation 0 (bug#57813)
Diffstat (limited to 'lisp/emacs-lisp/icons.el')
-rw-r--r--lisp/emacs-lisp/icons.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/icons.el b/lisp/emacs-lisp/icons.el
index ccc36577932..a08ac7463ce 100644
--- a/lisp/emacs-lisp/icons.el
+++ b/lisp/emacs-lisp/icons.el
@@ -203,7 +203,7 @@ present if the icon is represented by an image."
(window-default-line-height)
height)
:scale 1
- :rotation (plist-get keywords :rotation)
+ :rotation (or (plist-get keywords :rotation) 0)
:ascent (if (plist-member keywords :ascent)
(plist-get keywords :ascent)
'center))