mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00: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
e7550b8d93
commit
7cb21556b6
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
-*- mode: lisp-data -*-
|
-*- 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 "
|
(add\ "gnu: Add "
|
||||||
(p (with-temp-buffer
|
(p (with-temp-buffer
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue