3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

snippets: tempel: Simplify git-commit-mode detection.

* etc/snippets/tempel/text-mode: Simplify git-commit-mode detection.

Signed-off-by: Andrew Tropin <andrew@trop.in>
This commit is contained in:
Nicolas Graves 2023-04-17 19:52:22 +02:00 committed by Andrew Tropin
parent d4e99b4418
commit 38fa64c4b5
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 (bound-and-true-p git-commit-mode)
(add\ "gnu: Add "
(p (with-temp-buffer