summaryrefslogtreecommitdiff
path: root/bin/emacsclient
diff options
context:
space:
mode:
Diffstat (limited to 'bin/emacsclient')
-rwxr-xr-xbin/emacsclient6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/emacsclient b/bin/emacsclient
index d7a0d9b2..97d8242d 100755
--- a/bin/emacsclient
+++ b/bin/emacsclient
@@ -105,8 +105,10 @@ installed_emacsclient=$(PATH=$(echo "$PATH" \
| sed -e "s#$HOME/src/dotfiles/bin:##") \
command -v emacsclient)
-command -v ss >/dev/null \
- || exec -a emacsclient "$installed_emacsclient" -a "" "$@"
+for external in flock inotifywait perl pwdx ss; do
+ command -v $external >/dev/null \
+ || exec -a emacsclient "$installed_emacsclient" -a "" "$@"
+done
# We set and export XDG_RUNTIME_DIR such that Emacs doesn't choose
# "/tmp/emacs$(id -u)" as the socket dir.