emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 8574ae625e: * lisp/emacs-lisp/icons.el (icons--create): Use defau


From: Juri Linkov
Subject: master 8574ae625e: * lisp/emacs-lisp/icons.el (icons--create): Use default rotation 0 (bug#57813)
Date: Sat, 24 Sep 2022 13:17:52 -0400 (EDT)

branch: master
commit 8574ae625e3144d92bb59a0107a4404cc3d0ab86
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>

    * lisp/emacs-lisp/icons.el (icons--create): Use default rotation 0 
(bug#57813)
---
 lisp/emacs-lisp/icons.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/icons.el b/lisp/emacs-lisp/icons.el
index ccc3657793..a08ac7463c 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]