diff options
author | Eric Schulte <schulte.eric@gmail.com> | 2014-06-23 17:45:13 -0400 |
---|---|---|
committer | Eric Schulte <schulte.eric@gmail.com> | 2014-06-23 17:47:03 -0400 |
commit | 518b60aa4274025a7e8fe76b4a49051852bfcf74 (patch) | |
tree | f6982a60bf6f528e3422d0b5706646a2f02407c7 | |
parent | 77e234e5785f5aaa60f1e316863a2571de64bbd4 (diff) | |
download | org-mode-518b60aa4274025a7e8fe76b4a49051852bfcf74.tar.gz |
allow square brackets in emphasis post-match
* lisp/org.el (org-emphasis-regexp-components): Allow square brackets
in the emphasis post match.
-rw-r--r-- | lisp/org.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index 2b57fc0..3d2487b 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -4269,7 +4269,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 |