`org-emph-re' now matches emphasized strings at the end of lines.
We do this by making the last element of org-emph-re optional.
This commit is contained in:
parent
8b840fe73c
commit
c39f5d632f
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
* org.el (org-mode-map): Define new key `C-c C-*': convert a plain
|
* org.el (org-mode-map): Define new key `C-c C-*': convert a plain
|
||||||
list to a subtree, preserving the structure of the list.
|
list to a subtree, preserving the structure of the list.
|
||||||
|
(org-set-emph-re): Make the last element optional in the regexp.
|
||||||
|
This regexp now matches an emphasized string at the end of a line.
|
||||||
|
|
||||||
* org-list.el (org-list-goto-true-beginning)
|
* org-list.el (org-list-goto-true-beginning)
|
||||||
(org-list-make-subtree, org-list-make-subtrees): New functions.
|
(org-list-make-subtree, org-list-make-subtrees): New functions.
|
||||||
|
|
|
@ -2724,7 +2724,7 @@ org-leve-* faces."
|
||||||
"[^" border "]"
|
"[^" border "]"
|
||||||
"\\)"
|
"\\)"
|
||||||
"\\3\\)"
|
"\\3\\)"
|
||||||
"\\([" post "]\\|$\\)"))
|
"\\([" post "]\\|$\\)?"))
|
||||||
(setq org-verbatim-re
|
(setq org-verbatim-re
|
||||||
(concat "\\([" pre "]\\|^\\)"
|
(concat "\\([" pre "]\\|^\\)"
|
||||||
"\\("
|
"\\("
|
||||||
|
@ -2736,7 +2736,7 @@ org-leve-* faces."
|
||||||
"[^" border "]"
|
"[^" border "]"
|
||||||
"\\)"
|
"\\)"
|
||||||
"\\3\\)"
|
"\\3\\)"
|
||||||
"\\([" post "]\\|$\\)")))))
|
"\\([" post "]\\|$\\)?")))))
|
||||||
|
|
||||||
(defcustom org-emphasis-regexp-components
|
(defcustom org-emphasis-regexp-components
|
||||||
'(" \t('\"{" "- \t.,:!?;'\")}" " \t\r\n,\"'" "." 1)
|
'(" \t('\"{" "- \t.,:!?;'\")}" " \t\r\n,\"'" "." 1)
|
||||||
|
|
Loading…
Reference in New Issue