From 14ac6ddbeb411665dc7058a696a2bc7f94e22846 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Thu, 13 Dec 2018 01:04:17 +0800 Subject: [PATCH] Remove: comments. Note: This hook will cause magit exception (add-hook 'after-change-functions 'doom-modeline-update-buffer-file-icon) --- doom-modeline.el | 3 --- 1 file changed, 3 deletions(-) diff --git a/doom-modeline.el b/doom-modeline.el index 8a91067..12a1bb2 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -748,12 +748,9 @@ buffer where knowing the current project directory is important." 'face `(:height 1.1 :family ,(all-the-icons-icon-family-for-mode major-mode) :inherit)) doom-modeline-vspc))))) (add-hook 'find-file-hook 'doom-modeline-update-buffer-file-icon) -;; (remove-hook 'after-save-hook 'doom-modeline-update-buffer-file-icon) (add-hook 'after-revert-hook 'doom-modeline-update-buffer-file-icon) (add-hook 'after-change-major-mode-hook 'doom-modeline-update-buffer-file-icon) (add-hook 'clone-indirect-buffer-hook 'doom-modeline-update-buffer-file-icon) -;; This hook will cause magit exception -;; (add-hook 'after-change-functions 'doom-modeline-update-buffer-file-icon) (defvar-local doom-modeline--buffer-file-state-icon nil) (defun doom-modeline-update-buffer-file-state-icon (&rest _)