9 "emacs-snapshot -Q -D -nw" # Fast emacs
10 "emacs24 -Q -D -nw" # Fast emacs
11 "emacs23 -Q -D -nw" # Fast emacs
12 "emacs22 -Q -D -nw" # Fast emacs
16 for editor
in $editors; do
17 (( $
+commands
[$editor[(w
)1]] )) && {
18 # Some programs may not like to have arguments
19 if [[ $editor == *\
* ]]; then
20 export EDITOR
=$ZDOTDIR/run
/editor-
$HOST-$UID
36 # Maybe use emacsclient?
37 (( $
+commands
[emacsclient
] )) && {
38 export ALTERNATE_EDITOR
=$EDITOR
39 export EDITOR
=$ZDOTDIR/run
/eeditor-
$HOST-$UID
42 exec emacsclient -t "\$@"
46 alias e
="emacsclient -t"