mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Remove git-timemachine-show-commit fix
The problem was fixed upstream. See https://gitlab.com/pidu/git-timemachine/issues/77
This commit is contained in:
@ -9,15 +9,6 @@
|
|||||||
|
|
||||||
|
|
||||||
(after! git-timemachine
|
(after! git-timemachine
|
||||||
;; HACK Waiting for https://gitlab.com/pidu/git-timemachine/issues/77
|
|
||||||
(defadvice! +vc--git-timemachine-show-commit-a ()
|
|
||||||
"Fix `git-timemachine-show-commit'."
|
|
||||||
:override #'git-timemachine-show-commit
|
|
||||||
(interactive)
|
|
||||||
(if (fboundp 'magit-show-commit)
|
|
||||||
(magit-show-commit (car git-timemachine-revision))
|
|
||||||
(message "You need to install magit to show commit")))
|
|
||||||
|
|
||||||
;; Sometimes I forget `git-timemachine' is enabled in a buffer, so instead of
|
;; Sometimes I forget `git-timemachine' is enabled in a buffer, so instead of
|
||||||
;; showing revision details in the minibuffer, show them in
|
;; showing revision details in the minibuffer, show them in
|
||||||
;; `header-line-format', which has better visibility.
|
;; `header-line-format', which has better visibility.
|
||||||
|
Reference in New Issue
Block a user