branch: externals/svg-tag-mode
commit 60d56f3f41cd9a9e86d80e704feb2407e31f573a
Author: Nicolas P. Rougier <nicolas.roug...@inria.fr>
Commit: Nicolas P. Rougier <nicolas.roug...@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)