diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2015-10-25 19:20:25 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2015-10-25 19:20:25 +0100 |
commit | b4af3f0852e9705ddbac66d78cd8a508c547be85 (patch) | |
tree | f71edf067ae3a123c389a85d4aeff4a0d0ee8afe | |
parent | 3072cb28e8627066f465f1a4af85da88135d0549 (diff) | |
download | org-mode-b4af3f0852e9705ddbac66d78cd8a508c547be85.tar.gz |
Allow more characters in emphasis
* lisp/org.el (org-emphasis-regexp-components): Allow singe quote,
double quote and comma as the last character in an emphasis string.
Reported-by: Marcin Borkowski <mbork@mbork.pl>
<http://permalink.gmane.org/gmane.emacs.orgmode/102191>
-rwxr-xr-x | lisp/org.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index 00f29b8..4111084 100755 --- a/lisp/org.el +++ b/lisp/org.el @@ -4364,7 +4364,7 @@ After a match, the match groups contain these elements: ;; set this option proved cumbersome. See this message/thread: ;; http://article.gmane.org/gmane.emacs.orgmode/68681 (defvar org-emphasis-regexp-components - '(" \t('\"{" "- \t.,:!?;'\")}\\[" " \t\r\n,\"'" "." 1) + '(" \t('\"{" "- \t.,:!?;'\")}\\[" " \t\r\n" "." 1) "Components used to build the regular expression for emphasis. This is a list with five entries. Terminology: In an emphasis string like \" *strong word* \", we call the initial space PREMATCH, the final |