From 8115d07ddf28d7daee5da7366c0bd8de4167f8cb Mon Sep 17 00:00:00 2001 From: Maciej Szlosarczyk Date: Thu, 26 Mar 2026 15:59:57 +0200 Subject: [PATCH] Revert a suspicious commit coming from magit-commit.el --- lisp/icejam-flycheck.el | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/lisp/icejam-flycheck.el b/lisp/icejam-flycheck.el index 525284c..b43f3fd 100644 --- a/lisp/icejam-flycheck.el +++ b/lisp/icejam-flycheck.el @@ -49,7 +49,17 @@ (with-current-buffer target (setq flymake--diagnostics-buffer-source source) (display-buffer (current-buffer)) - (revert-buffer)))))) + (revert-buffer))))) + + (el-patch-feature 'magit-commit) + (with-eval-after-load 'magit-commit + (el-patch-defun git-commit-setup-capf () + "Set completion-at-point-functions to be actually useful." + (setq-local completion-at-point-functions + (list (cape-capf-super #'cape-dabbrev #'yasnippet-capf) + #'cape-file + #'cape-keyword + #'ispell-completion-at-point))))) ;; Use flymake, the built in linter/checker. (use-package flymake :ensure nil