aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/gnus/gnus-group.el3
-rw-r--r--lisp/progmodes/js.el5
2 files changed, 5 insertions, 3 deletions
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el
index 423b180408a..8c62c9424de 100644
--- a/lisp/gnus/gnus-group.el
+++ b/lisp/gnus/gnus-group.el
@@ -2462,7 +2462,8 @@ the ephemeral group."
2462 (with-temp-file tmpfile 2462 (with-temp-file tmpfile
2463 (mm-disable-multibyte) 2463 (mm-disable-multibyte)
2464 (dolist (id ids) 2464 (dolist (id ids)
2465 (let ((file (concat "~/.emacs.d/debbugs-cache/" id))) 2465 (let ((file (expand-file-name id (locate-user-emacs-file
2466 "debbugs-cache"))))
2466 (if (and (not gnus-plugged) 2467 (if (and (not gnus-plugged)
2467 (file-exists-p file)) 2468 (file-exists-p file))
2468 (insert-file-contents file) 2469 (insert-file-contents file)
diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el
index eb690a72f6e..6d6063d783c 100644
--- a/lisp/progmodes/js.el
+++ b/lisp/progmodes/js.el
@@ -494,10 +494,11 @@ for preventing Firefox from stealing the keyboard focus."
494 :type 'boolean) 494 :type 'boolean)
495 495
496(defcustom js-js-tmpdir 496(defcustom js-js-tmpdir
497 "~/.emacs.d/js/js" 497 (locate-user-emacs-file "js/js")
498 "Temporary directory used by `js-mode' to communicate with Mozilla. 498 "Temporary directory used by `js-mode' to communicate with Mozilla.
499This directory must be readable and writable by both Mozilla and Emacs." 499This directory must be readable and writable by both Mozilla and Emacs."
500 :type 'directory) 500 :type 'directory
501 :version "28.1")
501 502
502(defcustom js-js-timeout 5 503(defcustom js-js-timeout 5
503 "Reply timeout for executing commands in Mozilla via `js-mode'. 504 "Reply timeout for executing commands in Mozilla via `js-mode'.