Show correct buffer name in ivy-occur buffers.

This commit is contained in:
Vincent Zhang 2019-05-21 21:21:02 +08:00
parent 58c05c5834
commit 0a3ba66da7

View file

@ -344,6 +344,7 @@ mouse-1: Previous buffer\nmouse-3: Next buffer"
(add-hook 'evil-insert-state-exit-hook #'doom-modeline-update-buffer-file-name)
(advice-add #'rename-buffer :after #'doom-modeline-update-buffer-file-name)
(advice-add #'set-visited-file-name :after #'doom-modeline-update-buffer-file-name)
(advice-add #'pop-to-buffer :after #'doom-modeline-update-buffer-file-name)
(advice-add #'undo :after #'doom-modeline-update-buffer-file-name)
(advice-add #'undo-tree-undo-1 :after #'doom-modeline-update-buffer-file-name)
(advice-add #'undo-tree-redo-1 :after #'doom-modeline-update-buffer-file-name)