branch: externals/svg-tag-mode
commit 609ed7cc32e7b6dcbb5ce4017ee8b112e6929b03
Author: Nicolas P. Rougier <nicolas.roug...@inria.fr>
Commit: Nicolas P. Rougier <nicolas.roug...@inria.fr>

    Removed free variable
---
 svg-tag-mode.el | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/svg-tag-mode.el b/svg-tag-mode.el
index 9c664e0402..26d1ba0d52 100644
--- a/svg-tag-mode.el
+++ b/svg-tag-mode.el
@@ -113,15 +113,15 @@ allows to create dynamic tags."
                        (sexp   :tag "Tag"))))
 
 ;; SVG font weights translation
-(setq svg-tag--font-weights '((thin       . 100)
-                              (ultralight . 200)
-                              (light      . 300)
-                              (regular    . 400)
-                              (medium     . 500)
-                              (semibold   . 600)
-                              (bold       . 700)
-                              (extrabold  . 800)
-                              (black      . 900)))
+(defvar svg-tag--font-weights '((thin       . 100)
+                                (ultralight . 200)
+                                (light      . 300)
+                                (regular    . 400)
+                                (medium     . 500)
+                                (semibold   . 600)
+                                (bold       . 700)
+                                (extrabold  . 800)
+                                (black      . 900)))
 
 (defun svg-tag-make (text &optional face inner-padding outer-padding radius)
   "Create a SVG image displaying TEXT in a rounded box using FACE style.

Reply via email to