Browse Source

org-goto: Fix fontification in deep levels

* lisp/org-goto.el (org-goto-local-auto-isearch): Sill fontify when
  diving in deeper outline levels.
Nicolas Goaziou 1 year ago
parent
commit
823d9048e7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      lisp/org-goto.el

+ 2 - 1
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."