Joe Corneli <[EMAIL PROTECTED]> writes: > Both of these functions appear to require starting a new firefox. (??) >
#1 > (defun browse-url-firefox (url &optional new-window ) > ;;new-window ignored > "Ask the firefox browser to load URL." > (apply 'call-process "firefox" nil > 0 nil (list url))) > > ;;; #2 > (defun browse-url-firefox (url &optional new-window) > (call-process "firefox" nil 0 nil url)) Perhaps they do not. I just did: 'M-x browse-url' twice, inputting two different urls, and still have just one instance of firefox visible on the screen. I can display the two different pages by clicking the navigation toolbar arrows. Before trying these functions, I could find no way by setting emacs variables to start firefox if it was not already running. There's probably a way, but I didn't find it. :( Well, I don't know what's different out our environments, but for me, evaluating (progn (call-process "firefox" nil 0 nil "http://www.gnu.org") (call-process "firefox" nil 0 nil "http://www.google.com")) gives me one firefox window browsing gnu.org, and one of those idiot boxes that I hate telling me to choose a new user (i.e. if no firefox window is open; if a window is open, 2 X idiot box). _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs