summaryrefslogtreecommitdiff
path: root/scripts/open-emacs
diff options
context:
space:
mode:
authorJack Jamison <jackqjamison@gmail.com>2026-01-28 03:43:57 -0500
committerJack Jamison <jackqjamison@gmail.com>2026-01-28 03:43:57 -0500
commitf8778e805f014602a1bd4de287dcaf9585b2b1ee (patch)
tree2ce77d184949bdbcd4d4ff5c3bfc36318e48776d /scripts/open-emacs
parent6e8fbf36e07f9dd671880c4231131e0e38c2d384 (diff)
more wonderful changes
Diffstat (limited to 'scripts/open-emacs')
-rwxr-xr-xscripts/open-emacs2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/open-emacs b/scripts/open-emacs
index 15b0794..92272df 100755
--- a/scripts/open-emacs
+++ b/scripts/open-emacs
@@ -1,7 +1,5 @@
#!/bin/bash
-emacsclient -e '(message "")' 2>&1 >/dev/null || emacs --daemon &
-
emacs_attached() {
[ "$(emacsclient -e '(- (length (frame-list)) 1)')" = 0 ] && return 1 || return 0
}