mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Merge pull request #173 from gilbertw1/fix-smerge-hydra
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))
|
||||
(when (re-search-forward "^<<<<<<< " nil :noerror)
|
||||
(smerge-mode 1)
|
||||
(when +vcs-auto-hydra-smerge (+hydra-smerge/body)))))
|
||||
(when (and (featurep 'hydra)
|
||||
+vcs-auto-hydra-smerge)
|
||||
(+hydra-smerge/body)))))
|
||||
|
||||
;;;###autoload
|
||||
(defun +vcs*update-header-line (&rest _)
|
||||
|
Reference in New Issue
Block a user