From 823d9048e78dd51af6bb68e6ed51524a58b2a73a Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 14 Oct 2018 16:51:06 +0200 Subject: [PATCH] org-goto: Fix fontification in deep levels * lisp/org-goto.el (org-goto-local-auto-isearch): Sill fontify when diving in deeper outline levels. --- lisp/org-goto.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/org-goto.el b/lisp/org-goto.el index 1c265cf4d..f3c167274 100644 --- a/lisp/org-goto.el +++ b/lisp/org-goto.el @@ -176,7 +176,8 @@ When nil, you can use these keybindings to navigate the buffer: (let ((keys (this-command-keys))) (when (eq (lookup-key isearch-mode-map keys) 'isearch-printing-char) (isearch-mode t) - (isearch-process-search-char (string-to-char keys))))) + (isearch-process-search-char (string-to-char keys)) + (org-font-lock-ensure)))) (defun org-goto-ret (&optional _arg) "Finish `org-goto' by going to the new location."