[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/svg-tag-mode a9e8d9e705 27/63: Fixes followign review a
From: |
ELPA Syncer |
Subject: |
[elpa] externals/svg-tag-mode a9e8d9e705 27/63: Fixes followign review at https://github.com/melpa/melpa/pull/7217 |
Date: |
Mon, 27 Dec 2021 15:57:58 -0500 (EST) |
branch: externals/svg-tag-mode
commit a9e8d9e7056da3007729b5bc9e11661adb8036e6
Author: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Commit: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Fixes followign review at https://github.com/melpa/melpa/pull/7217
---
svg-tag-mode.el | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/svg-tag-mode.el b/svg-tag-mode.el
index 07fe80e433..d56d6722c4 100644
--- a/svg-tag-mode.el
+++ b/svg-tag-mode.el
@@ -22,7 +22,7 @@
;; GNU General Public License for more details.
;; For a full copy of the GNU General Public License
-;; see <http://www.gnu.org/licenses/>.
+;; see <https://www.gnu.org/licenses/>.
;;; Commentary:
@@ -91,8 +91,8 @@ This should be zero for most fonts but some fonts may need
this."
(defface svg-tag-default-face
`((t :foreground "white"
- :background "orange"
- :box (:line-width 1 :color "orange" :style nil)
+ :background "#FFAB91"
+ :box (:line-width 1 :color "#FFAB91" :style nil)
:family ,(face-attribute 'default :family)
:weight ,(face-attribute 'default :weight)
:height ,(- (face-attribute 'default :height) 20)))
@@ -100,7 +100,7 @@ This should be zero for most fonts but some fonts may need
this."
:group 'svg-tag)
(defcustom svg-tag-tags
- '((":TODO:" . (svg-tag-make "TODO")))
+ '((" TODO " . (svg-tag-make "TODO")))
"An alist mapping keywords to tags used to display them.
Each entry has the form (keyword . tag). Keyword is used as part
@@ -129,7 +129,6 @@ INNER-PADDING, OUTER-PADDING and RADIUS controls the visual
aspect of the box."
(let* ((face (or face 'svg-tag-default-face))
(foreground (face-attribute face :foreground))
(background (face-attribute face :background))
- (box (face-attribute face :box))
(stroke (or (plist-get (face-attribute face :box) :color)
foreground))
;; This does not seem to get the actual box line-width
@@ -190,13 +189,13 @@ INNER-PADDING, OUTER-PADDING and RADIUS controls the
visual aspect of the box."
(defun svg-tag-mode-on ()
"Activate SVG tag mode."
- (add-to-list 'font-lock-extra-managed-props 'display)
+ (add-to-list #'font-lock-extra-managed-props 'display)
(when svg-tag-tags--active
(font-lock-remove-keywords nil
- (mapcar 'svg-tag--build-keywords svg-tag-tags--active)))
+ (mapcar #'svg-tag--build-keywords svg-tag-tags--active)))
(when svg-tag-tags
(font-lock-add-keywords nil
- (mapcar 'svg-tag--build-keywords svg-tag-tags)))
+ (mapcar #'svg-tag--build-keywords svg-tag-tags)))
(setq svg-tag-tags--active (copy-sequence svg-tag-tags))
(message "SVG tag mode on")
(font-lock-flush))
@@ -205,7 +204,7 @@ INNER-PADDING, OUTER-PADDING and RADIUS controls the visual
aspect of the box."
"Deactivate SVG tag mode."
(when svg-tag-tags--active
(font-lock-remove-keywords nil
- (mapcar 'svg-tag--build-keywords svg-tag-tags--active)))
+ (mapcar #'svg-tag--build-keywords svg-tag-tags--active)))
(setq svg-tag-tags--active nil)
(message "SVG tag mode off")
(font-lock-flush))
- [elpa] externals/svg-tag-mode 90c15ebc07 05/63: Load subr-x for string-trim, (continued)
- [elpa] externals/svg-tag-mode 90c15ebc07 05/63: Load subr-x for string-trim, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode e9d0df33a6 12/63: Better default, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode a5af3041c4 07/63: Added customizable options, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode 0944bb3bce 14/63: Simplified tag setup and added custom variable for tags, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode db4d223352 18/63: Fixed documentation, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode 9649055e90 20/63: Trying to fix header, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode cec780a16f 21/63: Added version, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode 4fdc7ffbb3 23/63: Fixed font weights, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode 609ed7cc32 24/63: Removed free variable, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode 0125ceca29 22/63: Fix README, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode a9e8d9e705 27/63: Fixes followign review at https://github.com/melpa/melpa/pull/7217,
ELPA Syncer <=
- [elpa] externals/svg-tag-mode 40d7820143 28/63: Moved examples into a directory, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode c0492f9046 30/63: Fixed links, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode 78a343f0f3 34/63: Cleanup whitespace, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode 29ca63cdbb 36/63: Rewrote the mode using svg-lib, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode f6adc4b772 39/63: Make sure to remove space from tag., ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode a5098267c9 41/63: Updated example 2 to new tags format., ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode e9a6256dee 44/63: Added org-mode screenshot, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode 525901723f 47/63: Fixed requirements., ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode 8d9dd283fb 45/63: Updated screenshot, ELPA Syncer, 2021/12/27
- [elpa] externals/svg-tag-mode aca351185b 52/63: Fixed documentation., ELPA Syncer, 2021/12/27