summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJuliana Sims <juli@incana.org>2023-04-18 13:05:32 -0400
committerLudovic Courtès <ludo@gnu.org>2023-04-21 17:09:50 +0200
commit6a76811c596a4b7d20fcb26d296e6ab0d7db0d2a (patch)
tree82bf4bdf33c933ed686887f46b5b7cb2b4fdef0c /gnu/packages
parent76cda17812d10a2a61c81ba70f37915a94bc639c (diff)
downloadguix-6a76811c596a4b7d20fcb26d296e6ab0d7db0d2a.tar.gz
gnu: Add emacs-gerbil-mode.
* gnu/packages/emacs-xyz.scm (emacs-gerbil-mode): Add emacs-gerbil-mode.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/emacs-xyz.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index ad0e753d9a..86503d2706 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -125,6 +125,7 @@
 ;;; Copyright © 2022 Demis Balbach <db@minikn.xyz>
 ;;; Copyright © 2020, 2021, 2022, 2023 Andrew Tropin <andrew@trop.in>
 ;;; Copyright © 2023 Dominik Delgado Steuter <d@delgado.nrw>
+;;; Copyright © 2023 Juliana Sims <juli@incana.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -36029,6 +36030,22 @@ audio volume via amixer.")
 Fennel code within Emacs.")
       (license license:gpl3+))))
 
+(define-public emacs-gerbil-mode
+  (package
+    (inherit gerbil)
+    (name "emacs-gerbil-mode")
+    (version "1.0")
+    (build-system emacs-build-system)
+    (arguments
+     (list #:phases #~(modify-phases %standard-phases
+                        (add-before 'install 'change-directory
+                          (lambda _
+                            (chdir "etc"))))))
+    (synopsis "Emacs major-mode for editing Gerbil code")
+    (description
+     "Gerbil mode provides font-lock, indentation, navigation, and REPL for
+Gerbil code within Emacs.")))
+
 (define-public emacs-org-modern
   (package
    (name "emacs-org-modern")