summary refs log tree commit diff
path: root/etc/snippets/tempel/text-mode
diff options
context:
space:
mode:
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 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