forked from mirrors/org-mode
org-element: Fix regression
* lisp/org-element.el (org-element--object-regexp): Take into consideration `org-emphasis-regexp-components' when building regexp. http://permalink.gmane.org/gmane.emacs.orgmode/84349
This commit is contained in:
parent
25c591fcc4
commit
10cd4ed4d0
|
@ -4147,7 +4147,8 @@ Elements are accumulated into ACC."
|
|||
"\\(?:[_^][-{(*+.,[:alnum:]]\\)"
|
||||
;; Bold, code, italic, strike-through, underline and
|
||||
;; verbatim.
|
||||
"[*~=+_/][^- \t.,:!?;'\"]"
|
||||
(concat "[*~=+_/]"
|
||||
(format "[^%s]" (nth 2 org-emphasis-regexp-components)))
|
||||
;; Plain links.
|
||||
(concat "\\<" link-types ":")
|
||||
;; Objects starting with "[": regular link, footnote
|
||||
|
|
Loading…
Reference in New Issue