parent
55a2e6d003
commit
c501d0f2c6
@ -1,9 +1,9 @@
|
||||
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
|
||||
if test -z "$x" -o "$x" = nil
|
||||
emacsclient $argv --alternate-editor '' --create-frame
|
||||
else
|
||||
or emacsclient $argv --alternate-editor ''
|
||||
emacsclient $argv --alternate-editor ''
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue