Subject: [bug#72406] [PATCH emacs-team WIP 4/4] etc: Provide snippet for defining emacs variants.

From: Liliana Marie Prikler <[email-masked]>
Date: Wed, 31 Jul 2024 21:54:55 +0200

* etc/snippets/tempel/scheme-mode (emacs-variants...): New snippet.
---
 etc/snippets/tempel/scheme-mode | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/etc/snippets/tempel/scheme-mode b/etc/snippets/tempel/scheme-mode
index 249f4ce8e3..5ad9fd48a7 100644
--- a/etc/snippets/tempel/scheme-mode
+++ b/etc/snippets/tempel/scheme-mode
@@ -14,6 +14,14 @@ scheme-mode
  n  > "(description \"" p "\")"
  n  > "(license license:" (p "unknown") ")))" n)
 
+(emacs-variants...
+ "(define-public emacs-next-" (s name)
+ n> "(package-with-emacs-next emacs-" (s name) "))" n n
+ "(define-public emacs-minimal-" (s name)
+ n> "(package-with-emacs-minimal emacs-" (s name) "))" n n
+ "(define-public emacs-pgtk-" (s name)
+ n> "(package-with-emacs-pgtk emacs-" (s name) "))")
+
 (origin...
  "(origin"
  n> "(method " (p "url-fetch" method) ")"
-- 
2.45.2