0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 20:07:46 +00:00

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

View file

@ -176,7 +176,8 @@ When nil, you can use these keybindings to navigate the buffer:
(let ((keys (this-command-keys))) (let ((keys (this-command-keys)))
(when (eq (lookup-key isearch-mode-map keys) 'isearch-printing-char) (when (eq (lookup-key isearch-mode-map keys) 'isearch-printing-char)
(isearch-mode t) (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) (defun org-goto-ret (&optional _arg)
"Finish `org-goto' by going to the new location." "Finish `org-goto' by going to the new location."