Skip to content

Commit

Permalink
Fix eldoc segment.
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle0128 committed Aug 15, 2023
1 parent 9ce1999 commit 7429601
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doom-modeline-segments.el
Original file line number Diff line number Diff line change
Expand Up @@ -3137,7 +3137,8 @@ Otherwise, it displays the message like `message' would."
nil t)
(with-current-buffer
(window-buffer
(or (minibuffer-selected-window)
(or (window-in-direction 'above (minibuffer-window))
(minibuffer-selected-window)
(get-largest-window)))
(setq eldoc-mode-line-string
(when (stringp format-string)
Expand Down

0 comments on commit 7429601

Please sign in to comment.