mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Check if the hydra feature is enabled before opening smerge hydra
This commit is contained in:
@ -45,7 +45,9 @@ repository root."
|
|||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(when (re-search-forward "^<<<<<<< " nil :noerror)
|
(when (re-search-forward "^<<<<<<< " nil :noerror)
|
||||||
(smerge-mode 1)
|
(smerge-mode 1)
|
||||||
(when +vcs-auto-hydra-smerge (+hydra-smerge/body)))))
|
(when (and (featurep 'hydra)
|
||||||
|
+vcs-auto-hydra-smerge)
|
||||||
|
(+hydra-smerge/body)))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +vcs*update-header-line (&rest _)
|
(defun +vcs*update-header-line (&rest _)
|
||||||
|
Reference in New Issue
Block a user