]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/icons.el (icons--create): Use default rotation 0 (bug#57813)
authorJuri Linkov <juri@linkov.net>
Sat, 24 Sep 2022 17:17:28 +0000 (20:17 +0300)
committerJuri Linkov <juri@linkov.net>
Sat, 24 Sep 2022 17:17:28 +0000 (20:17 +0300)
lisp/emacs-lisp/icons.el

index ccc365779329f36074903eeb41a826d995f4329c..a08ac7463ce65a764bbd52092d16b16db3b48842 100644 (file)
@@ -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))