From: Robert Ewald <robewald@gmx.net>
To: notmuch@notmuchmail.org
Cc: Robert Ewald <robewald@gmx.net>
Subject: [PATCH] emacs: Make the shell location configurable
Date: Tue, 15 Aug 2017 00:36:23 +0200 [thread overview]
Message-ID: <20170814223623.28411-1-robewald@gmx.net> (raw)
The location of the shell is not always /bin/sh. Use the
shell-file-name variable to be able to specify the shell location.
---
emacs/notmuch-lib.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el
index 337b20ac..8dffe9f2 100644
--- a/emacs/notmuch-lib.el
+++ b/emacs/notmuch-lib.el
@@ -921,7 +921,7 @@ status."
(command (or (executable-find notmuch-command)
(error "command not found: %s" notmuch-command)))
(proc (apply #'start-process name buffer
- "/bin/sh" "-c"
+ shell-file-name "-c"
"exec 2>\"$1\"; shift; exec \"$0\" \"$@\""
command err-file args)))
(process-put proc 'err-file err-file)
--
2.11.0
next reply other threads:[~2017-08-14 22:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-14 22:36 Robert Ewald [this message]
2017-08-15 13:53 ` [PATCH] emacs: Make the shell location configurable Tomi Ollila
2017-08-15 16:02 ` David Bremner
2017-08-15 20:04 ` Robert Ewald
2017-08-15 23:38 ` David Bremner
2017-08-16 7:17 ` Robert Ewald
2017-08-16 11:09 ` David Bremner
2017-08-16 20:16 ` Robert Ewald
2017-08-17 11:44 ` David Bremner
2017-08-17 12:15 ` Tomi Ollila
2017-08-17 21:46 ` David Bremner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170814223623.28411-1-robewald@gmx.net \
--to=robewald@gmx.net \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).