mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05: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:
parent
d4e99b4418
commit
38fa64c4b5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue