Subject: bug#62909: closed (Re: [bug#62909] [PATCH] etc: snippets: Fix git-commit-mode configuration for tempel.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 18 Apr 2023 11:07:02 +0000

Your bug report

#62909: [PATCH] etc: snippets: Fix git-commit-mode configuration for tempel.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
62909: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62909
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#62909] [PATCH] etc: snippets: Fix git-commit-mode configuration for tempel.
From: Andrew Tropin <[email-masked]>
To: Nicolas Graves via Guix-patches via <[email-masked]>, [email-masked]
Cc: [email-masked]
Date: Tue, 18 Apr 2023 15:06:03 +0400
List-Id: <debbugs-submit.debbugs.gnu.org>

On 2023-04-17 19:52, Nicolas Graves via Guix-patches via wrote:

> * etc/snippets/tempel/text-mode: Fix git-commit-mode configuration for tempel.
> ---
>  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

Hi Nicolas!

Thank you for the patch, applied, reworded commit message, pushed as
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=38fa64c4b5

-- 
Best regards,
Andrew Tropin

Subject: [PATCH] etc: snippets: Fix git-commit-mode configuration for tempel.
From: Nicolas Graves <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Mon, 17 Apr 2023 19:52:22 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* etc/snippets/tempel/text-mode: Fix git-commit-mode configuration for tempel.
---
 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
-- 
2.39.2