[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/hyperbole c0e48fb 01/50: Use \0 for matched Nth substit
From: |
Stefan Monnier |
Subject: |
[elpa] externals/hyperbole c0e48fb 01/50: Use \0 for matched Nth substitution (#37) |
Date: |
Wed, 17 Mar 2021 18:44:11 -0400 (EDT) |
branch: externals/hyperbole
commit c0e48fb3d4c101df62d5c139b0457ffbbcdbf5a1
Author: Mats Lidell <mats.lidell@lidells.se>
Commit: GitHub <noreply@github.com>
Use \0 for matched Nth substitution (#37)
Co-authored-by: Mats Lidell <matsl@gnu.org>
---
kotl/kexport.el | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/kotl/kexport.el b/kotl/kexport.el
index dd3c8c2..9613d22 100644
--- a/kotl/kexport.el
+++ b/kotl/kexport.el
@@ -70,7 +70,7 @@
'(">" . ">")
;;
;; italicize keybindings
- '("{[^}]+}" . "<I>\\0</I>")
+ '("{[^}]+}" . "<I>\0</I>")
;;
;; make URLs into hyperlinks
(cons hpath:url-regexp 'kexport:html-url)
@@ -88,10 +88,10 @@
;; make klinks into hyperlinks
(cons (concat "<\\s-*@\\s-*" kexport:kcell-reference-regexp
"[^&>]*>")
- "<A HREF=\"#k\\1\">\\0</A>")
+ "<A HREF=\"#k\\1\">\0</A>")
(cons (format "<\\s-*@\\s-*\\(%s\\)[^=&>]*>"
kexport:kcell-partial-reference-regexp)
- "<A HREF=\"#k\\1\">\\0</A>")
+ "<A HREF=\"#k\\1\">\0</A>")
(cons (format "<\\s-*\\([^ \t\n\r,<>]+\\)\\s-*,\\s-*%s[^=&>]*>"
kexport:kcell-reference-regexp)
'kexport:html-file-klink)
@@ -236,8 +236,8 @@ Works exclusively within a call to
`hypb:replace-match-string'."
(match-end 1))))
(if (equal filename (file-name-nondirectory
kexport:input-filename))
- "<A HREF=\"#k\\2\">\\0</A>"
- (format "<A HREF=\"file://%s#k\\2\">\\0</A>"
+ "<A HREF=\"#k\\2\">\0</A>"
+ (format "<A HREF=\"file://%s#k\\2\">\0</A>"
(expand-file-name filename
(if kexport:input-filename
(file-name-directory
- [elpa] externals/hyperbole updated (d65920b -> 4eef4e9), Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole c0e48fb 01/50: Use \0 for matched Nth substitution (#37),
Stefan Monnier <=
- [elpa] externals/hyperbole 531cf87 02/50: Handle Org links in non-Org mode buffers with a low priority ibtype, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole afbae3a 04/50: Do not save temp buffer, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole c1ac392 05/50: Use emacs lisp for updating the web repo, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole 357a098 06/50: Initial org-tbl support, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole 0e8d33e 03/50: Add Makefile.maintenance, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole de9e60f 09/50: Fix bug#43692, failed to do substitute fixed case for path variables, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole 66b35cc 07/50: Add kotl/kotl-orgtbl.el, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole 8d77205 08/50: 7.1.3a - Add key bindings and finish Kotl Org table mode support, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole 4ddeaf6 10/50: Remove Makefile.maintenance, Stefan Monnier, 2021/03/17
- [elpa] externals/hyperbole 28a1e0c 18/50: Use xdg-open to dispatch to user preferences for display alist (#40), Stefan Monnier, 2021/03/17