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

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

[elpa] externals/svg-lib 5cb5865 31/32: Bug fix


From: ELPA Syncer
Subject: [elpa] externals/svg-lib 5cb5865 31/32: Bug fix
Date: Mon, 27 Sep 2021 16:57:51 -0400 (EDT)

branch: externals/svg-lib
commit 5cb58656d1a6d2664c1acb9df1c8e16b086e8db2
Author: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Commit: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>

    Bug fix
---
 svg-lib-demo.el | 4 ++--
 svg-lib.el      | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/svg-lib-demo.el b/svg-lib-demo.el
index 1791b0c..23dc64b 100644
--- a/svg-lib-demo.el
+++ b/svg-lib-demo.el
@@ -2,8 +2,8 @@
 
 (dotimes (i 5)
   (insert-image (svg-lib-tag "TODO" nil
-                      :font-family "Roboto Mono" :font-weight (* (+ i 2) 
100))))
-     
+                             :font-weight (* (+ i 2) 100))))
+
 
 (dotimes (i 10)
   (insert-image (svg-lib-tag "TODO" nil :padding 1 :stroke (/ i 4.0))))
diff --git a/svg-lib.el b/svg-lib.el
index 3bce73d..b3df0f5 100644
--- a/svg-lib.el
+++ b/svg-lib.el
@@ -28,7 +28,7 @@
 ;; Usage example:
 ;;
 ;; (insert-image (svg-lib-tag "TODO"))
-;; (insert-image (svg-lib-progress 0.33))
+;; (insert-image (svg-lib-progress-bar 0.33))
 ;; (insert-image (svg-lib-icon "star"))
 ;;
 ;; Icons ares created by parsing remote collections whose license are
@@ -390,7 +390,7 @@ Cached version is returned if it exists unless FORCE-RELOAD 
is t."
   (let ((url (format (cdr (assoc collection svg-lib-icon-collections)) name)))
     ;; create the svg-lib-icons-dir if not exists
     (unless (file-exists-p svg-lib-icons-dir)
-      (make-directory svg-lib-icons-dir))
+      (make-directory svg-lib-icons-dir t))
     (let* ((filename (expand-file-name (format "%s_%s.svg" collection name) 
svg-lib-icons-dir))
            (buffer (if (or force-reload (not (file-exists-p filename)))
                        (with-current-buffer (url-retrieve-synchronously url)



reply via email to

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