Kaynağa Gözat

allow square brackets in emphasis post-match

* lisp/org.el (org-emphasis-regexp-components): Allow square brackets
  in the emphasis post match.
Eric Schulte 11 yıl önce
ebeveyn
işleme
518b60aa42
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      lisp/org.el

+ 1 - 1
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