From f8778e805f014602a1bd4de287dcaf9585b2b1ee Mon Sep 17 00:00:00 2001 From: Jack Jamison Date: Wed, 28 Jan 2026 03:43:57 -0500 Subject: more wonderful changes --- scripts/open-emacs | 2 -- scripts/open-emacs-project | 2 -- scripts/restartemacs | 2 +- 3 files changed, 1 insertion(+), 5 deletions(-) (limited to 'scripts') 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 } diff --git a/scripts/open-emacs-project b/scripts/open-emacs-project index a5e4338..23df773 100755 --- a/scripts/open-emacs-project +++ b/scripts/open-emacs-project @@ -1,7 +1,5 @@ #!/bin/bash -emacsclient -e '(message "")' 2>&1 >/dev/null || emacs --daemon & - find_dirs() { echo $(emacsclient -e "(proj--get-paths)" | sed -ze 's/(\(.*\))/\1/') | xargs -n1 } diff --git a/scripts/restartemacs b/scripts/restartemacs index 5e55c81..7f2cee4 100755 --- a/scripts/restartemacs +++ b/scripts/restartemacs @@ -1,3 +1,3 @@ #!/bin/sh pkill -x emacs -emacs --daemon=main +emacs --daemon -- cgit v1.2.3