mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-27 19:19:53 +00:00
Fix incorrect help-echo of file icons in org-agenda.
This commit is contained in:
parent
67c352def1
commit
93d335a54f
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ buffer where knowing the current project directory is important."
|
||||||
(setq icon (doom-modeline-icon-for-mode 'fundamental-mode :height height)))
|
(setq icon (doom-modeline-icon-for-mode 'fundamental-mode :height height)))
|
||||||
(unless (symbolp icon)
|
(unless (symbolp icon)
|
||||||
(propertize 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)))))))
|
'display '(raise -0.125)))))))
|
||||||
(add-hook 'find-file-hook #'doom-modeline-update-buffer-file-icon)
|
(add-hook 'find-file-hook #'doom-modeline-update-buffer-file-icon)
|
||||||
(add-hook 'after-change-major-mode-hook #'doom-modeline-update-buffer-file-icon)
|
(add-hook 'after-change-major-mode-hook #'doom-modeline-update-buffer-file-icon)
|
||||||
|
|
Loading…
Reference in a new issue