guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

57/96: snippets: tempel: Simplify git-commit-mode detection.


From: guix-commits
Subject: 57/96: snippets: tempel: Simplify git-commit-mode detection.
Date: Wed, 19 Apr 2023 21:41:13 -0400 (EDT)

apteryx pushed a commit to branch core-updates
in repository guix.

commit 7cb21556b6031c9f7e187329b6663768425aa850
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]