Skip to content

Commit fc4a5da

Browse files
authored
Fix emacs launcher to use new xwidget sessions (#279)
1 parent a65c079 commit fc4a5da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/portal/runtime/launcher.cljc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@
8080
(defmethod browser/-open :emacs [{:keys [portal server]}]
8181
(let [url (str "http://" (:host server) ":" (:port server) "?" (:session-id portal))]
8282
(spawn "emacsclient" "--no-wait" "--eval"
83-
(str "(xwidget-webkit-browse-url " (pr-str url) ")"))))
83+
(str "(xwidget-webkit-browse-url " (pr-str url) " t)"))))
8484

8585
(defmethod browser/-open :auto [args]
8686
(browser/-open
8787
(assoc-in args [:options :launcher]
8888
(cond
8989
(fs/exists ".portal/vs-code.edn") :vs-code
90-
(fs/exists ".portal/intellij.edn") :intellij))))
90+
(fs/exists ".portal/intellij.edn") :intellij))))

0 commit comments

Comments
 (0)