@@ -240,6 +240,7 @@ (define-module (gnu packages emacs-xyz)
#:use-module (gnu packages uml)
#:use-module (gnu packages finance)
#:use-module (gnu packages ocaml)
+ #:use-module (gnu packages erlang)
#:use-module (guix utils)
#:use-module (srfi srfi-1)
#:use-module (ice-9 match))
@@ -27503,6 +27504,32 @@ (define-public emacs-eval-in-repl-iex
called @code{ess-eval-region-or-line-and-step}, which is assigned to
C-RET. This function sends a line or a selected region to the corresponding
shell (R, Julia, Stata, etc) visibly. It also start up a shell if there is
+none.")
+ (license license:expat)))
+
+(define-public emacs-eval-in-repl-erlang
+ (package
+ (name "emacs-eval-in-repl-erlang")
+ (version "0.9.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://raw.githubusercontent.com/kaz-yos/eval-in-repl/"
+ version "/eval-in-repl-erlang.el"))
+ (sha256
+ (base32
+ "1gk0kgi5j22lszjrna4l79pq8zqyq6g35pk5issacw9jx179nb7n"))))
+ (build-system emacs-build-system)
+ (propagated-inputs (list emacs-eval-in-repl emacs-erlang))
+ (home-page "https://github.com/kaz-yos/eval-in-repl")
+ (synopsis "Consistent evaluation interface for Erlang REPLs for emacs")
+ (description"\
+This package provides a consistent ESS-like evaluation interface for
+Erlang REPLs. Emacs Speaks Statistics (ESS) package has a nice function
+called @code{ess-eval-region-or-line-and-step}, which is assigned to
+C-RET. This function sends a line or a selected region to the corresponding
+shell (R, Julia, Stata, etc) visibly. It also start up a shell if there is
none.")
(license license:expat)))
(define-public emacs-eval-sexp-fu-el