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.
This commit is contained in:
Andrew Tropin 2022-12-27 12:35:41 +04:00
parent 60d4652c5d
commit 8f93a1e01a
No known key found for this signature in database
GPG key ID: 2208D20958C1DEB0

View file

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