From 11f8e028d2fafc77be2eb58ced1680cb77b9b952 Mon Sep 17 00:00:00 2001 From: Feng Shu Date: Wed, 19 Apr 2017 06:14:44 +0800 Subject: [PATCH] gnu: emacs-exwm: Let shell wrapper work with arguments. * gnu/packages/emacs.scm (emacs-exwm): Pass shell wrapper arguments to emacs. Signed-off-by: Arun Isaac --- gnu/packages/emacs.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 6eb8751ad9..68bac8b41c 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -4475,7 +4475,7 @@ It should enable you to implement low-level X11 applications.") (format #t "#!~a ~@ export DISPLAY=:0 ~@ ~a +SI:localuser:$USER ~@ - exec ~a --exit-with-session ~a --eval '~s' ~%" + exec ~a --exit-with-session ~a \"$@\" --eval '~s' ~%" (string-append (assoc-ref inputs "bash") "/bin/sh") (string-append (assoc-ref inputs "xhost") "/bin/xhost") (string-append (assoc-ref inputs "dbus") "/bin/dbus-launch")