From 0509ac47f48f79f06a0723df5eba6ec6baaaaba8 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Thu, 14 Jun 2018 02:41:13 +0800 Subject: [PATCH] Fix eldoc in minibuffer. --- doom-modeline.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doom-modeline.el b/doom-modeline.el index b9b0e82..0de2e21 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -250,7 +250,6 @@ If STRICT-P, return nil if no project was found, otherwise return ;; Show eldoc in the mode-line with `eval-expression' (defun doom-modeline--show-eldoc (input) "Display string STR in the mode-line next to minibuffer." - (eldoc-in-minibuffer-mode +1) (with-current-buffer (eldoc-current-buffer) (let* ((str (and (stringp input) input)) (mode-line-format (or (and str (or (doom-modeline-eldoc str) str)) @@ -260,7 +259,7 @@ If STRICT-P, return nil if no project was found, otherwise return (sit-for eldoc-show-in-mode-line-delay)))) (setq eldoc-in-minibuffer-show-fn #'doom-modeline--show-eldoc) -;; (eldoc-in-minibuffer-mode +1) +(eldoc-in-minibuffer-mode +1) ;; anzu and evil-anzu expose current/total state that can be displayed in the