From 81d9ed977df48b1ea4ef6f343d845e23f6e4486a Mon Sep 17 00:00:00 2001 From: stardiviner Date: Fri, 26 Nov 2021 10:38:16 +0800 Subject: [PATCH] Ensure font-lock after org-mode in company-mode doc-buffer --- org-contacts.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org-contacts.el b/org-contacts.el index 6e88d07..b06e39f 100644 --- a/org-contacts.el +++ b/org-contacts.el @@ -663,7 +663,8 @@ description." (erase-buffer) (insert contents) (org-mode) - (org-show-all))) + (org-show-all) + (font-lock-ensure))) doc-buffer)) ;;; display company-mode doc buffer bellow current window.