lang/org: remove link markup in eldoc breadcrumbs

This commit is contained in:
Henrik Lissner 2019-05-15 16:42:45 -04:00
parent fa664f4e28
commit d057d45ef2
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -435,7 +435,9 @@ conditions where a window's buffer hasn't changed at the time this hook is run."
in (split-string (substring-no-properties result) separator) in (split-string (substring-no-properties result) separator)
for n from 0 for n from 0
for face = (nth (% n org-n-level-faces) org-level-faces) for face = (nth (% n org-n-level-faces) org-level-faces)
collect (org-add-props part nil 'face `(:foreground ,(face-foreground face nil t) :weight bold))) collect
(org-add-props (replace-regexp-in-string org-any-link-re "\\4" part)
nil 'face `(:foreground ,(face-foreground face nil t) :weight bold)))
separator))) separator)))
(advice-add #'org-format-outline-path :around #'+org*strip-properties-from-outline) (advice-add #'org-format-outline-path :around #'+org*strip-properties-from-outline)