[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: snippets: tempel: Simplify git-commit-mode detect
From: |
guix-commits |
Subject: |
branch master updated: snippets: tempel: Simplify git-commit-mode detection. |
Date: |
Tue, 18 Apr 2023 07:05:24 -0400 |
This is an automated email from the git hooks/post-receive script.
abcdw pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 38fa64c4b5 snippets: tempel: Simplify git-commit-mode detection.
38fa64c4b5 is described below
commit 38fa64c4b5bb7bd831c27c27f0b1cf3f5e80f78d
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Mon Apr 17 19:52:22 2023 +0200
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>
---
etc/snippets/tempel/text-mode | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: snippets: tempel: Simplify git-commit-mode detection.,
guix-commits <=