]> gitweb.factorcode.org Git - factor.git/commitdiff
editors.emacs: change emacsclient-args to fully override default arguments.
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 3 Sep 2018 15:06:26 +0000 (08:06 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 3 Sep 2018 15:06:26 +0000 (08:06 -0700)
basis/editors/emacs/emacs.factor

index a8e6d23ecf33d366cc2dd13f015f9e01375f8bca..051f7c1bfbe9c7ddd240233fbd685f68fe503521 100644 (file)
@@ -23,9 +23,7 @@ M: windows find-emacsclient
 M: emacsclient editor-command ( file line -- command )
     [
         emacsclient-path get [ find-emacsclient ] unless* ,
-        emacsclient-args get %
-        "-a=emacs" ,
-        "--no-wait" ,
+        emacsclient-args get [ { "-a=emacs" "--no-wait" } ] unless* %
         number>string "+" prepend ,
         ,
     ] { } make ;