From 93d335a54fb5b30ff22c5f3a83bce546d5c3ceb1 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Mon, 4 Mar 2019 16:58:24 +0700 Subject: [PATCH] Fix incorrect help-echo of file icons in org-agenda. --- doom-modeline-segments.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doom-modeline-segments.el b/doom-modeline-segments.el index d5c868d..2e325ec 100644 --- a/doom-modeline-segments.el +++ b/doom-modeline-segments.el @@ -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)