[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)
- [elpa] externals/svg-lib f9e1bbb 32/32: Fix some warnings, (continued)
- [elpa] externals/svg-lib f9e1bbb 32/32: Fix some warnings, ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib 04fdd1a 08/32: Added svg-lib-concat function for org-mode demo, ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib d9a49ac 14/32: Delete the redundant url checking, ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib 6ceae83 16/32: Change `svg-lib-icons-dir` default value, ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib f775af4 21/32: Merge pull request #5 from 404cn/master, ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib 8427772 23/32: Merge remote-tracking branch 'origin/master', ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib 5c206f3 24/32: Remove hard coded image scaling factor, ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib f0b2136 25/32: Merge pull request #7 from HyunggyuJang/remove-hard-image-scale, ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib e0423a2 27/32: Merge pull request #8 from HyunggyuJang/fix-font-info-query-format, ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib 11bc5dc 28/32: Make stroke to be fully contained inside the svg, ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib 5cb5865 31/32: Bug fix,
ELPA Syncer <=