Revert a suspicious commit coming from magit-commit.el
Some checks failed
/ Test config on 20 (push) Failing after 56s

This commit is contained in:
Maciej 2026-03-26 15:59:57 +02:00
parent 6ee2c3beec
commit 8115d07ddf
Signed by: maciej
GPG key ID: 28243AF437E32F99

View file

@ -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