emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/svg-tag-mode 60d56f3f41 29/63: Fixed terminal mode erro


From: ELPA Syncer
Subject: [elpa] externals/svg-tag-mode 60d56f3f41 29/63: Fixed terminal mode error
Date: Mon, 27 Dec 2021 15:57:58 -0500 (EST)

branch: externals/svg-tag-mode
commit 60d56f3f41cd9a9e86d80e704feb2407e31f573a
Author: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Commit: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>

    Fixed terminal mode error
---
 svg-tag-mode.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/svg-tag-mode.el b/svg-tag-mode.el
index d56d6722c4..16b842da17 100644
--- a/svg-tag-mode.el
+++ b/svg-tag-mode.el
@@ -95,7 +95,9 @@ This should be zero for most fonts but some fonts may need 
this."
        :box (:line-width 1 :color "#FFAB91" :style nil)
        :family ,(face-attribute 'default :family)
        :weight ,(face-attribute 'default :weight)
-       :height ,(- (face-attribute 'default :height) 20)))
+       :height ,(if (display-graphic-p)
+                    (- (face-attribute 'default :height) 20)
+                  1)))
   "Default face for tag"
   :group 'svg-tag)
 



reply via email to

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