emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/textile-mode 39be4160bf 11/19: Fix footnote regexp


From: ELPA Syncer
Subject: [nongnu] elpa/textile-mode 39be4160bf 11/19: Fix footnote regexp
Date: Sat, 29 Jan 2022 08:29:35 -0500 (EST)

branch: elpa/textile-mode
commit 39be4160bf255325b0b14c2526a828695aecc89c
Author: Matus Goljer <dota.keys@gmail.com>
Commit: Matus Goljer <dota.keys@gmail.com>

    Fix footnote regexp
---
 textile-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/textile-mode.el b/textile-mode.el
index 755f772dec..124322db4a 100644
--- a/textile-mode.el
+++ b/textile-mode.el
@@ -171,7 +171,7 @@ non-matching parentheses"
        ;; footnotes
        `(,(textile-block-matcher "fn[0-9]+") 1 'textile-footnote-face t t)
        ;; footnote marks
-       '("\\w\\([[0-9]+]\\)" 1 'textile-footnotemark-face prepend t)
+       '("\\(?:\\w\\|\\s.\\)\\(\\[[0-9]+\\]\\)" 1 'textile-footnotemark-face 
prepend t)
        ;; acronyms
        `(,(textile-acronym-matcher) 0 'textile-acronym-face t t)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]