org-goto: Fix fontification in deep levels

* lisp/org-goto.el (org-goto-local-auto-isearch): Sill fontify when
  diving in deeper outline levels.
This commit is contained in:
Nicolas Goaziou 2018-10-14 16:51:06 +02:00
parent f12f9b4f28
commit 823d9048e7
1 changed files with 2 additions and 1 deletions

View File

@ -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."