Skip to content

Commit

Permalink
Fix incorrect help-echo of file icons in org-agenda.
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle0128 committed Mar 4, 2019
1 parent 67c352d commit 93d335a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doom-modeline-segments.el
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ buffer where knowing the current project directory is important."
(setq icon (doom-modeline-icon-for-mode 'fundamental-mode :height height)))
(unless (symbolp icon)
(propertize icon
'help-echo (format "Major-mode: %s" mode-name)
'help-echo (format "Major-mode: %s" (format-mode-line mode-name))
'display '(raise -0.125)))))))
(add-hook 'find-file-hook #'doom-modeline-update-buffer-file-icon)
(add-hook 'after-change-major-mode-hook #'doom-modeline-update-buffer-file-icon)
Expand Down

0 comments on commit 93d335a

Please sign in to comment.