From 8f93a1e01a879ae026678dd92c18e2a2a49be540 Mon Sep 17 00:00:00 2001 From: Andrew Tropin Date: Tue, 27 Dec 2022 12:35:41 +0400 Subject: snippets: Remove unwanted git-commit-mode invocation. We only need to check if git-commit-mode is t, not enable it in all text-mode buffers. * etc/snippets/tempel/text-mode: Remove unwanted git-commit-mode invocation. --- etc/snippets/tempel/text-mode | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/snippets/tempel/text-mode b/etc/snippets/tempel/text-mode index fd0e95eaa6..1cda91cba0 100644 --- a/etc/snippets/tempel/text-mode +++ b/etc/snippets/tempel/text-mode @@ -1,6 +1,6 @@ -*- mode: lisp-data -*- -text-mode :when (and (fboundp 'git-commit-mode) (git-commit-mode)) +text-mode :when (and (fboundp 'git-commit-mode) git-commit-mode) (add\ "gnu: Add " (p (with-temp-buffer -- cgit 1.4.1