mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Remove: comments.
Note: This hook will cause magit exception (add-hook 'after-change-functions 'doom-modeline-update-buffer-file-icon)
This commit is contained in:
parent
eaa1b0d971
commit
14ac6ddbeb
1 changed files with 0 additions and 3 deletions
|
@ -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))
|
'face `(:height 1.1 :family ,(all-the-icons-icon-family-for-mode major-mode) :inherit))
|
||||||
doom-modeline-vspc)))))
|
doom-modeline-vspc)))))
|
||||||
(add-hook 'find-file-hook 'doom-modeline-update-buffer-file-icon)
|
(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-revert-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)
|
||||||
(add-hook 'clone-indirect-buffer-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)
|
(defvar-local doom-modeline--buffer-file-state-icon nil)
|
||||||
(defun doom-modeline-update-buffer-file-state-icon (&rest _)
|
(defun doom-modeline-update-buffer-file-state-icon (&rest _)
|
||||||
|
|
Loading…
Reference in a new issue