[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/firefox-javascript-repl a7ec913277 1/2: Use browse-url-
From: |
Thomas Fitzsimmons |
Subject: |
[elpa] externals/firefox-javascript-repl a7ec913277 1/2: Use browse-url-firefox-program for firefox binary |
Date: |
Mon, 5 Jun 2023 16:20:16 -0400 (EDT) |
branch: externals/firefox-javascript-repl
commit a7ec9132776a6b0049eded996695a97048ae30fa
Author: Thomas Fitzsimmons <fitzsim@fitzsim.org>
Commit: Thomas Fitzsimmons <fitzsim@fitzsim.org>
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.
---
firefox-javascript-repl.el | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/firefox-javascript-repl.el b/firefox-javascript-repl.el
index f229946bf5..d9e68a82db 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")))