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>master
parent
e7550b8d93
commit
7cb21556b6
|
@ -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
|
||||
|
|
Reference in New Issue