branch: externals/firefox-javascript-repl
commit 976f04d3405c9a02a94880f669b055414c40129a
Author: Thomas Fitzsimmons <[email protected]>
Commit: Thomas Fitzsimmons <[email protected]>
Pass process object to kill-process
* firefox-javascript-repl.el (firefox-javascript-repl-mode): Pass
process object to kill-process.
---
firefox-javascript-repl.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/firefox-javascript-repl.el b/firefox-javascript-repl.el
index 845104eb2c..06d7c16263 100644
--- a/firefox-javascript-repl.el
+++ b/firefox-javascript-repl.el
@@ -205,7 +205,7 @@ ARGUMENTS will be used for FORMAT, like `messages'."
(add-hook 'kill-buffer-hook
(lambda ()
(let ((network (get-process "firefox-javascript-repl")))
- (when network (kill-process "firefox-javascript-repl")))))
+ (when network (kill-process network)))))
(fjrepl--show-quirk)))
(defun fjrepl--create-profile-directory ()