diff options
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 |
