fix(emacs): fix check for open frames w/ extra output (#10992)

master
Marcus Müller 4 years ago committed by GitHub
parent 8168ec0174
commit 4c82a2eedf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      plugins/emacs/emacsclient.sh

@ -11,7 +11,7 @@ emacsfun() {
esac
# Check if there are suitable frames
frames="$(emacsclient -a '' -n -e "$cmd" 2>/dev/null)"
frames="$(emacsclient -a '' -n -e "$cmd" 2>/dev/null |sed 's/.*\x07//g' )"
# Only create another X frame if there isn't one present
if [ -z "$frames" -o "$frames" = nil ]; then

Loading…
Cancel
Save