summary refs log tree commit diff
path: root/etc
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2023-04-17 19:52:22 +0200
committerAndrew Tropin <andrew@trop.in>2023-04-18 14:59:02 +0400
commit38fa64c4b5bb7bd831c27c27f0b1cf3f5e80f78d (patch)
tree2699c60351b5d4b86c5529a524d18edf4ca225c4 /etc
parentd4e99b44180a0c4cb547506cb29b2434f0934681 (diff)
downloadguix-38fa64c4b5bb7bd831c27c27f0b1cf3f5e80f78d.tar.gz
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>
Diffstat (limited to 'etc')
-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 1cda91cba0..c635b7ee6f 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 (bound-and-true-p git-commit-mode)
 
 (add\ "gnu: Add "
       (p (with-temp-buffer