From e83a22ee6f113b31d1366d8de1bbb4df9d964356 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Fri, 28 Dec 2018 15:48:47 +0800 Subject: [PATCH] Update help echo of mode icon. --- doom-modeline.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doom-modeline.el b/doom-modeline.el index 7811d61..033139b 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -752,7 +752,7 @@ buffer where knowing the current project directory is important." (setq icon (doom-modeline-icon-for-file (buffer-name) :height 0.92))) (unless (symbolp icon) (propertize icon - 'help-echo (format "Major-mode: `%s'" major-mode) + 'help-echo (format "Major-mode: %s" mode-name) 'display '(raise -0.125)))))) (add-hook 'find-file-hook 'doom-modeline-update-buffer-file-icon) (add-hook 'after-revert-hook 'doom-modeline-update-buffer-file-icon)