tweak(infinidoge): remove alternate-editor from editor script

This commit is contained in:
Infinidoge 2022-10-25 20:32:10 -04:00
parent ed02b29574
commit 06a281beac

View file

@ -62,9 +62,9 @@ in
editorScript = pkgs.writeScriptBin "emacseditor" '' editorScript = pkgs.writeScriptBin "emacseditor" ''
#!${pkgs.runtimeShell} #!${pkgs.runtimeShell}
if [ -z "$1" ]; then if [ -z "$1" ]; then
exec ${pkg}/bin/emacsclient --create-frame --alternate-editor ${pkg}/bin/emacs exec ${pkg}/bin/emacsclient --create-frame
else else
exec ${pkg}/bin/emacsclient --alternate-editor ${pkg}/bin/emacs "$@" exec ${pkg}/bin/emacsclient "$@"
fi fi
''; '';
in in