From 38db89e9be42047de51ea22e0d83dc05f47ff366 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Thu, 25 Jul 2024 21:31:24 -0400 Subject: [PATCH] Open ComfyUI in default browser --- emacs/.emacs.d/config/init-ai.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs.d/config/init-ai.el b/emacs/.emacs.d/config/init-ai.el index 5c38f6e..2959026 100644 --- a/emacs/.emacs.d/config/init-ai.el +++ b/emacs/.emacs.d/config/init-ai.el @@ -125,7 +125,8 @@ (when-let ((match (s-match "To see the GUI go to: \\(.*\\)" string))) (with-current-buffer (process-buffer proc) (setq comfy-ui--url (nth 1 match)) - (browse-url comfy-ui--url))) + (let ((browse-url-browser-function #'browse-url-default-browser)) + (browse-url comfy-ui--url)))) (when (buffer-live-p (process-buffer proc)) (with-current-buffer (process-buffer proc) (let ((moving (= (point) (process-mark proc))))