summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2021-04-13 12:56:14 +0200
committerAlan Pearce2021-04-13 13:51:03 +0200
commit607ca3b21e2fde82c306f716aebacbb6bbe04980 (patch)
tree87cff9668923ba0630c0f0b3e5f1dd33ab6c219c /user
parent330ab67268c3339d1c651c05f0bda6164df7c134 (diff)
downloadnixfiles-607ca3b21e2fde82c306f716aebacbb6bbe04980.tar.lz
nixfiles-607ca3b21e2fde82c306f716aebacbb6bbe04980.tar.zst
nixfiles-607ca3b21e2fde82c306f716aebacbb6bbe04980.zip
edit: use new Emacs frame (aka OS window)
Diffstat (limited to 'user')
-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 {