Unverified Commit 4c82a2ee authored by Marcus Müller's avatar Marcus Müller Committed by GitHub

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

parent 8168ec01
...@@ -11,7 +11,7 @@ emacsfun() { ...@@ -11,7 +11,7 @@ emacsfun() {
esac esac
# Check if there are suitable frames # 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 # Only create another X frame if there isn't one present
if [ -z "$frames" -o "$frames" = nil ]; then if [ -z "$frames" -o "$frames" = nil ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment