org.el (org-sort-remove-invisible): Remove emphasis markers
* org.el (org-sort-remove-invisible): Remove emphasis markers.
This commit is contained in:
parent
1ab872c51e
commit
662cb98684
|
@ -8326,6 +8326,10 @@ Optional argument WITH-CASE means sort case-sensitively."
|
||||||
(setq s (replace-match (if (match-end 2)
|
(setq s (replace-match (if (match-end 2)
|
||||||
(match-string 3 s)
|
(match-string 3 s)
|
||||||
(match-string 1 s)) t t s)))
|
(match-string 1 s)) t t s)))
|
||||||
|
(let ((st (format " %s " s)))
|
||||||
|
(while (string-match org-emph-re st)
|
||||||
|
(setq st (replace-match (format " %s " (match-string 4 st)) t t st)))
|
||||||
|
(setq s (substring st 1 -1)))
|
||||||
s)
|
s)
|
||||||
|
|
||||||
(defvar org-priority-regexp) ; defined later in the file
|
(defvar org-priority-regexp) ; defined later in the file
|
||||||
|
|
Loading…
Reference in New Issue