[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/embark 2422d4e86f: Fix wikipedia link example code (fix
From: |
ELPA Syncer |
Subject: |
[elpa] externals/embark 2422d4e86f: Fix wikipedia link example code (fix #545) |
Date: |
Tue, 20 Sep 2022 12:57:42 -0400 (EDT) |
branch: externals/embark
commit 2422d4e86f24b2b4204f2441f953e8407d011a2e
Author: Omar Antolín Camarena <omar.antolin@gmail.com>
Commit: Omar Antolín Camarena <omar.antolin@gmail.com>
Fix wikipedia link example code (fix #545)
---
README.org | 4 ++--
embark.texi | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/README.org b/README.org
index d7747923e5..a67e8f2d88 100644
--- a/README.org
+++ b/README.org
@@ -803,8 +803,8 @@ included in the list =embark-indicators=).
(save-match-data
(when (string-match "wikipedia:\\([[:alnum:]_]+\\)" str)
`(url
- (format "https://en.wikipedia.org/wiki/%s"
- (match-string 1 str))
+ ,(format "https://en.wikipedia.org/wiki/%s"
+ (match-string 1 str))
,beg . ,end))))))
(add-to-list 'embark-target-finders 'my-short-wikipedia-link)
diff --git a/embark.texi b/embark.texi
index ae24ab6d86..d81439a442 100644
--- a/embark.texi
+++ b/embark.texi
@@ -975,8 +975,8 @@ included in the list @samp{embark-indicators}).
(save-match-data
(when (string-match "wikipedia:\\([[:alnum:]_]+\\)" str)
`(url
- (format "https://en.wikipedia.org/wiki/%s"
- (match-string 1 str))
+ ,(format "https://en.wikipedia.org/wiki/%s"
+ (match-string 1 str))
,beg . ,end))))))
(add-to-list 'embark-target-finders 'my-short-wikipedia-link)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/embark 2422d4e86f: Fix wikipedia link example code (fix #545),
ELPA Syncer <=