summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/settings/emacs.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index da8d54ca..3fd3582f 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -8,7 +8,7 @@ let
     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 {