1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02: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

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