summaryrefslogtreecommitdiff
path: root/emacs/guix-guile.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/guix-guile.el')
-rw-r--r--emacs/guix-guile.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/emacs/guix-guile.el b/emacs/guix-guile.el
index af8c7d255a..cff9bd4e9b 100644
--- a/emacs/guix-guile.el
+++ b/emacs/guix-guile.el
@@ -24,6 +24,13 @@
;;; Code:
+(defun guix-guile-make-call-expression (proc &rest args)
+ "Return \"(PROC ARGS ...)\" string.
+PROC and ARGS should be strings."
+ (format "(%s %s)"
+ proc
+ (mapconcat #'identity args " ")))
+
(defun guix-make-guile-expression (fun &rest args)
"Return string containing a guile expression for calling FUN with ARGS."
(format "(%S %s)" fun