From 09ed39a9418251e9c1d342db7d1b9302222aac43 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Thu, 15 Nov 2018 03:28:49 +0800 Subject: [PATCH] Compatible with git-timemachine. --- doom-modeline.el | 1 + 1 file changed, 1 insertion(+) diff --git a/doom-modeline.el b/doom-modeline.el index eb3ca4a..ae4a0fa 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -627,6 +627,7 @@ buffer where knowing the current project directory is important." (add-hook 'find-file-hook #'doom-modeline-update-buffer-file-name) (add-hook 'after-revert-hook #'doom-modeline-update-buffer-file-name) (add-hook 'after-save-hook #'doom-modeline-update-buffer-file-name) +(add-hook 'git-timemachine-mode-hook #'doom-modeline-update-buffer-file-name) (doom-modeline-def-segment buffer-info "Combined information about the current buffer, including the current working