summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2018-10-14 16:51:06 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2018-10-14 16:51:06 +0200
commit823d9048e78dd51af6bb68e6ed51524a58b2a73a (patch)
treefbe7bd1ed71c200c14463b64a9fc3318f2651fda
parentf12f9b4f28109c30364c0b379db5d8bbe5850a2d (diff)
downloadorg-mode-823d9048e78dd51af6bb68e6ed51524a58b2a73a.tar.gz
org-goto: Fix fontification in deep levels
* lisp/org-goto.el (org-goto-local-auto-isearch): Sill fontify when diving in deeper outline levels.
-rw-r--r--lisp/org-goto.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/org-goto.el b/lisp/org-goto.el
index 1c265cf..f3c1672 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."