You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
function __launch_emacs
|
|
set -l x (emacsclient --alternate-editor '' --eval '(x-display-list)' 2>/dev/null)
|
|
|
|
if begin; test -z "$x"; or test $x = nil; end
|
|
emacsclient $argv --alternate-editor '' --create-frame
|
|
else
|
|
or emacsclient $argv --alternate-editor ''
|
|
end
|
|
end
|