all repos — nixfiles @ 607ca3b21e2fde82c306f716aebacbb6bbe04980

System and user configuration, managed by nix and home-manager

edit: use new Emacs frame (aka OS window)
Alan Pearce alan@alanpearce.eu
Tue, 13 Apr 2021 12:56:14 +0200
commit

607ca3b21e2fde82c306f716aebacbb6bbe04980

parent

330ab67268c3339d1c651c05f0bda6164df7c134

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M user/settings/emacs.nixuser/settings/emacs.nix
@@ -8,7 +8,7 @@ #!${pkgs.runtimeShell}     if [ -z "$1" ]; then
       exec ${config.programs.emacs.finalPackage}/bin/emacsclient --create-frame --alternate-editor ${config.programs.emacs.finalPackage}/bin/emacs
     else
-      exec ${config.programs.emacs.finalPackage}/bin/emacsclient --alternate-editor ${config.programs.emacs.finalPackage}/bin/emacs "$@"
+      exec ${config.programs.emacs.finalPackage}/bin/emacsclient --alternate-editor ${config.programs.emacs.finalPackage}/bin/emacs --create-frame "$@"
     fi
   '';
   desktopApplicationFile = pkgs.writeTextFile {