guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: Add emacs-setup.


From: guix-commits
Subject: branch master updated: gnu: Add emacs-setup.
Date: Sat, 22 Jan 2022 09:37:04 -0500

This is an automated email from the git hooks/post-receive script.

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 1c79490804 gnu: Add emacs-setup.
1c79490804 is described below

commit 1c7949080470da968ca7c712fe38654ae3cc174c
Author: jgart via Guix-patches via <guix-patches@gnu.org>
AuthorDate: Sat Jan 22 06:33:30 2022 -0500

    gnu: Add emacs-setup.
    
    * gnu/packages/emacs-xyz.scm (emacs-setup): New variable.
    
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 9432a3f637..827b6196d3 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -29798,6 +29798,29 @@ wraps GNU Global calls and integration to editor using 
this API with
 project.el and xref.el.")
       (license license:gpl3+))))
 
+(define-public emacs-setup
+  (package
+    (name "emacs-setup")
+    (version "1.2.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "https://elpa.gnu.org/packages/setup-";
+                            version ".tar"))
+        (sha256
+          (base32 "1fyzkm42gsvsjpk3vahfb7asfldarixm0wsw3g66q3ad0r7cbjnz"))))
+    (build-system emacs-build-system)
+    (home-page "https://git.sr.ht/~pkal/setup";)
+    (synopsis "Helpful configuration macro")
+    (description
+"The @code{setup} macro simplifies repetitive configuration patterns, by
+providing context-sensitive local macros in @code{setup} bodies.  These macros
+can be mixed with regular elisp code without any issues, allowing for
+flexible and terse configurations.  The list of local macros can be
+extended by the user via @code{setup-define}.  A list of currently known
+local macros are documented in the docstring for @code{setup}.")
+    (license license:gpl3+)))
+
 (define-public emacs-fennel-mode
   (package
     (name "emacs-fennel-mode")



reply via email to

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