diff options
| author | Thomas Fitzsimmons <fitzsim@fitzsim.org> | 2023-06-05 16:17:20 -0400 |
|---|---|---|
| committer | Thomas Fitzsimmons <fitzsim@fitzsim.org> | 2023-06-05 16:17:20 -0400 |
| commit | a7ec9132776a6b0049eded996695a97048ae30fa (patch) | |
| tree | 2862821ac011a7664c0aa4c289bb1dbd5a2bfda8 | |
| parent | 8611fa635b0336f9fae633a86dbac1dfa02db097 (diff) | |
Use browse-url-firefox-program for firefox binary
* firefox-javascript-repl.el: Remove architecture column from
compatibility table. Require browse-url.
(firefox-javascript-repl): Use fully qualified firefox executable
path.
| -rw-r--r-- | firefox-javascript-repl.el | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/firefox-javascript-repl.el b/firefox-javascript-repl.el index f229946..d9e68a8 100644 --- a/firefox-javascript-repl.el +++ b/firefox-javascript-repl.el @@ -77,13 +77,13 @@ ;; Compatibility: -;; ╔════════════╦══════════════╦══════════╦══════════════════════╗ -;; ║ Test Date ║ Architecture ║ Browser ║ Version ║ -;; ╠════════════╬══════════════╬══════════╬══════════════════════╣ -;; ║ 2023-05-26 ║ ppc64le ║ Firefox ║ 102.11.0esr (64-bit) ║ -;; ║ 2023-05-26 ║ x86-64 ║ Firefox ║ 113.0.2 (64-bit) ║ -;; ║ 2023-05-26 ║ x86-64 ║ Abrowser ║ 111.0.1 (64-bit) ║ -;; ╙────────────╨──────────────╨──────────╨──────────────────────╜ +;; ╔════════════╦══════════╦══════════════════════╗ +;; ║ Test Date ║ Browser ║ Version ║ +;; ╠════════════╬══════════╬══════════════════════╣ +;; ║ 2023-05-26 ║ Firefox ║ 102.11.0esr (64-bit) ║ +;; ║ 2023-05-26 ║ Firefox ║ 113.0.2 (64-bit) ║ +;; ║ 2023-05-26 ║ Abrowser ║ 111.0.1 (64-bit) ║ +;; ╙────────────╨──────────╨──────────────────────╜ ;; Acronyms: @@ -95,6 +95,7 @@ (require 'comint) (require 'js) (require 'json) +(require 'browse-url) (defvar fjrepl--debug nil "Non-nil to print debug messages to buffer *fjrepl-debug*.") @@ -458,7 +459,7 @@ localhost (127.0.0.1) TCP port 6000." (firefox-process (start-process "firefox-javascript-repl" firefox-standard-output-buffer-name - "firefox" ; executable binary name + (executable-find browse-url-firefox-program) "about:blank" "-profile" profile-directory "-start-debugger-server"))) |
