summaryrefslogtreecommitdiff
path: root/bin/emacsclient
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2023-01-17 10:16:35 -0700
committerSean Whitton <spwhitton@spwhitton.name>2023-01-17 10:20:31 -0700
commitdf898f94bb0b2a552ce4c09e42dc29673eedc179 (patch)
tree5dfc7104a9583dce4b4758ab384c4cd7c160df18 /bin/emacsclient
parent37e9061c0f8caa953b5a0adb1a3c4329930ac749 (diff)
downloaddotfiles-df898f94bb0b2a552ce4c09e42dc29673eedc179.tar.gz
emacsclient wrapper: check for getopt(1)
Not necessary because if the attempt to invoke getopt(1) fails we call the defer function anyway, but this has documentation value.
Diffstat (limited to 'bin/emacsclient')
-rwxr-xr-xbin/emacsclient2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emacsclient b/bin/emacsclient
index 82d05976..a8268fd0 100755
--- a/bin/emacsclient
+++ b/bin/emacsclient
@@ -64,7 +64,7 @@ defer () {
[ -n "$BASH_VERSION" ] \
|| { command -v bash >/dev/null && exec bash "$0" "$@" || defer "$@"; }
-for cmd in flock inotifywait pwdx ss; do
+for cmd in getopt flock inotifywait pwdx ss; do
command -v $cmd >/dev/null || defer "$@"
done