Use an option to remove value from git-commit-setup-hook
Some checks failed
/ Test config on 20 (push) Failing after 39s
Some checks failed
/ Test config on 20 (push) Failing after 39s
The patch is flimsy and more often than not it did not work properly.
This commit is contained in:
parent
23cba7a5fe
commit
c2e63a1fa6
2 changed files with 8 additions and 16 deletions
|
|
@ -2,7 +2,9 @@
|
|||
;;; Commentary:
|
||||
;;; Code:
|
||||
|
||||
(eval-when-compile (defvar icejam-keys-mode-map))
|
||||
(eval-when-compile
|
||||
(defvar icejam-keys-mode-map)
|
||||
(declare-function git-commit-setup-capf 'git-commit))
|
||||
|
||||
(use-package magit
|
||||
:ensure t
|
||||
|
|
@ -13,7 +15,10 @@
|
|||
("<f5> b" . magit-blame-addition)
|
||||
("<f5> g" . magit-status))
|
||||
(:map magit-blame-mode-map
|
||||
("<f5> b" . 'magit-blame-quit)))
|
||||
("<f5> b" . 'magit-blame-quit))
|
||||
:config
|
||||
(setopt git-commit-setup-hook
|
||||
(remove #'git-commit-setup-capf git-commit-setup-hook)))
|
||||
|
||||
(provide 'icejam-magit)
|
||||
;;; icejam-magit.el ends here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue