|
@@ -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
|