emacs: silence "Scanning for dabbrevs" in git commit buffers
1 file changed, 6 insertions(+), 0 deletions(-)
changed files
M user/settings/emacs/post-init.el → user/settings/emacs/post-init.el
@@ -510,6 +510,7 @@ "C-c p" 'cape-prefix-map) :init ;; Add to the global default value of `completion-at-point-functions' which is ;; used by `completion-at-point'. + (add-hook 'completion-at-point-functions #'cape-dabbrev) (add-hook 'completion-at-point-functions #'cape-file) (add-hook 'completion-at-point-functions #'cape-elisp-block))@@ -860,6 +861,11 @@ (use-package with-editor :defer t :general ( :keymaps 'with-editor-mode-map "s-<return>" #'with-editor-finish)) + +(use-package git-commit + :defer t + :config (progn + (remove-hook 'git-commit-setup-hook #'git-commit-setup-capf))) (use-package magit :defer 5