summary refs log tree commit diff
path: root/etc/snippets/tempel/text-mode
diff options
context:
space:
mode:
authorAndrew Tropin <andrew@trop.in>2022-12-27 12:35:41 +0400
committerAndrew Tropin <andrew@trop.in>2022-12-27 12:38:05 +0400
commit8f93a1e01a879ae026678dd92c18e2a2a49be540 (patch)
treecfcfa00ad666dc3af7726d0c525b589328813965 /etc/snippets/tempel/text-mode
parent60d4652c5d33dd81ed05afd708e6a127584d59cd (diff)
downloadguix-8f93a1e01a879ae026678dd92c18e2a2a49be540.tar.gz
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.
Diffstat (limited to 'etc/snippets/tempel/text-mode')
-rw-r--r--etc/snippets/tempel/text-mode2
1 files changed, 1 insertions, 1 deletions
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