mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 19:37:52 +00:00
org.el: Fix `org-display-outline-path'
* lisp/org.el (org-display-outline-path): Always remove faces when setting the outline path to display. See <https://orgmode.org/list/21ef0e94-e766-455c-a45c-fe30e316c121@Spark>
This commit is contained in:
parent
7d8247410d
commit
a3576543f5
13
lisp/org.el
13
lisp/org.el
|
@ -9199,13 +9199,14 @@ If JUST-RETURN-STRING is non-nil, return a string, don't display a message."
|
|||
(when (looking-at org-complex-heading-regexp)
|
||||
(list (match-string 4)))))))
|
||||
(setq res
|
||||
(org-format-outline-path
|
||||
path
|
||||
(1- (frame-width))
|
||||
(and file bfn (concat (file-name-nondirectory bfn) separator))
|
||||
separator))
|
||||
(org-no-properties
|
||||
(org-format-outline-path
|
||||
path
|
||||
(1- (frame-width))
|
||||
(and file bfn (concat (file-name-nondirectory bfn) separator))
|
||||
separator)))
|
||||
(if just-return-string
|
||||
(org-no-properties res)
|
||||
res
|
||||
(org-unlogged-message "%s" res))))
|
||||
|
||||
(defvar org-refile-history nil
|
||||
|
|
Loading…
Reference in a new issue