all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#62909] [PATCH] etc: snippets: Fix git-commit-mode configuration for tempel.
@ 2023-04-17 17:52 Nicolas Graves via Guix-patches via
  2023-04-18 11:06 ` Andrew Tropin
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2023-04-17 17:52 UTC (permalink / raw)
  To: 62909; +Cc: ngraves

* 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#62909] [PATCH] etc: snippets: Fix git-commit-mode configuration for tempel.
  2023-04-17 17:52 [bug#62909] [PATCH] etc: snippets: Fix git-commit-mode configuration for tempel Nicolas Graves via Guix-patches via
@ 2023-04-18 11:06 ` Andrew Tropin
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Tropin @ 2023-04-18 11:06 UTC (permalink / raw)
  To: 62909, 62909-done; +Cc: ngraves

[-- Attachment #1: Type: text/plain, Size: 869 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-18 11:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-17 17:52 [bug#62909] [PATCH] etc: snippets: Fix git-commit-mode configuration for tempel Nicolas Graves via Guix-patches via
2023-04-18 11:06 ` Andrew Tropin

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.