From d504c4bafe8b54e763f7882bc7f9b563269a15a9 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 4 Aug 2018 18:23:53 +0200 Subject: [PATCH] lang/org: respect inherited foreground in eldoc --- modules/lang/org/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lang/org/config.el b/modules/lang/org/config.el index eefa0f93d..4b34710bc 100644 --- a/modules/lang/org/config.el +++ b/modules/lang/org/config.el @@ -365,7 +365,7 @@ conditions where a window's buffer hasn't changed at the time this hook is run." for seg in (delq nil path) for face = (nth (% (cl-incf i) org-n-level-faces) org-level-faces) collect (propertize (replace-regexp-in-string "[ \t]+\\'" "" seg) - 'face (if face `(:foreground ,(face-foreground face))))) + 'face (if face `(:foreground ,(face-foreground face nil t))))) separator)))) (funcall orig-fn))) (advice-add #'org-eldoc-get-breadcrumb :around #'+org*fix-font-size-variation-in-eldoc)