mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Refactor git-timemachine-show-commit fix (again)
This commit is contained in:
@ -15,8 +15,7 @@
|
|||||||
:override #'git-timemachine-show-commit
|
:override #'git-timemachine-show-commit
|
||||||
(interactive)
|
(interactive)
|
||||||
(if (fboundp 'magit-show-commit)
|
(if (fboundp 'magit-show-commit)
|
||||||
(save-excursion
|
(magit-show-commit (car git-timemachine-revision))
|
||||||
(magit-show-commit (car git-timemachine-revision)))
|
|
||||||
(message "You need to install magit to show commit")))
|
(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
|
||||||
|
Reference in New Issue
Block a user