[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/svg-tag-mode 7f42a443e9 11/12: Revert "Added a match-da
From: |
ELPA Syncer |
Subject: |
[elpa] externals/svg-tag-mode 7f42a443e9 11/12: Revert "Added a match-data on tag that can be retrieved by callback" |
Date: |
Wed, 28 Aug 2024 06:59:00 -0400 (EDT) |
branch: externals/svg-tag-mode
commit 7f42a443e9dc0fcd51d8f85594c3afd0cac3cf15
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Revert "Added a match-data on tag that can be retrieved by callback"
This reverts commit 0e0ea48799d8911ed6c1ef60565a20fd5cf3dae4.
At the time `match-string' is evaluated it, at least sometimes,
returns nil (I suspect it always does), which then causes
`substring-no-properties' to error because it expects a string
as argument.
Alternatively, if this happens to actually return non-nil in
some cases, then `match-string-no-properties' should be used
instead, because, like `match-string', that won't error when
the requested match-data is empty.
---
svg-tag-mode.el | 1 -
1 file changed, 1 deletion(-)
diff --git a/svg-tag-mode.el b/svg-tag-mode.el
index 05a24cea39..a7f58403fc 100644
--- a/svg-tag-mode.el
+++ b/svg-tag-mode.el
@@ -254,7 +254,6 @@ Action can be:
(help (nth 2 (cdr item))))
(setq tag ``( face nil
display ,,tag
- match-data ,(substring-no-properties (match-string 1))
cursor-sensor-functions (svg-tag--cursor-function)
,@(and ,callback '(pointer hand))
,@(and ,help `(help-echo ,,help))
- [elpa] externals/svg-tag-mode 45e3d967ee 03/12: Increase consistency of whitespace, (continued)
- [elpa] externals/svg-tag-mode 45e3d967ee 03/12: Increase consistency of whitespace, ELPA Syncer, 2024/08/28
- [elpa] externals/svg-tag-mode 325a42a7af 04/12: Make it easier to navigate between parts of the commentary, ELPA Syncer, 2024/08/28
- [elpa] externals/svg-tag-mode b2ede2a3e5 05/12: Enforce use of spaces for indentation, ELPA Syncer, 2024/08/28
- [elpa] externals/svg-tag-mode 416538ff8b 06/12: Avoid "if chains", ELPA Syncer, 2024/08/28
- [elpa] externals/svg-tag-mode d594e585fa 07/12: Use more appropriate conditionals, ELPA Syncer, 2024/08/28
- [elpa] externals/svg-tag-mode 8f7523f55f 08/12: Fix indentation, ELPA Syncer, 2024/08/28
- [elpa] externals/svg-tag-mode b27ecbf6d1 09/12: Improve docstrings, ELPA Syncer, 2024/08/28
- [elpa] externals/svg-tag-mode 1c58c97f1a 10/12: Fix default value and custom type of svg-tag-tags, ELPA Syncer, 2024/08/28
- [elpa] externals/svg-tag-mode 91179d9576 12/12: Merge pull request #61 from tarsiiformes/cleanup, ELPA Syncer, 2024/08/28
- [elpa] externals/svg-tag-mode 0ba633b156 01/12: Autoload modes, ELPA Syncer, 2024/08/28
- [elpa] externals/svg-tag-mode 7f42a443e9 11/12: Revert "Added a match-data on tag that can be retrieved by callback",
ELPA Syncer <=