diff options
| author | Jack Jamison <jackqjamison@gmail.com> | 2026-01-28 03:43:57 -0500 |
|---|---|---|
| committer | Jack Jamison <jackqjamison@gmail.com> | 2026-01-28 03:43:57 -0500 |
| commit | f8778e805f014602a1bd4de287dcaf9585b2b1ee (patch) | |
| tree | 2ce77d184949bdbcd4d4ff5c3bfc36318e48776d /scripts | |
| parent | 6e8fbf36e07f9dd671880c4231131e0e38c2d384 (diff) | |
more wonderful changes
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/open-emacs | 2 | ||||
| -rwxr-xr-x | scripts/open-emacs-project | 2 | ||||
| -rwxr-xr-x | scripts/restartemacs | 2 |
3 files changed, 1 insertions, 5 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 } 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 |
