aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1998-05-16 03:40:39 +0000
committerRichard M. Stallman1998-05-16 03:40:39 +0000
commitff432440bc3401eed5822cc3ed7802eddae4fa5b (patch)
tree1a36ebb113e51bc2d6ee9572173b466ee66c33c8
parent784f6a0010dc41fb4cdf3ca374f3f6a1ca0fda2e (diff)
downloademacs-ff432440bc3401eed5822cc3ed7802eddae4fa5b.tar.gz
emacs-ff432440bc3401eed5822cc3ed7802eddae4fa5b.zip
(browse-url-temp-dir): Use system-tmp-directory.
-rw-r--r--lisp/browse-url.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/browse-url.el b/lisp/browse-url.el
index e719ecab3d2..a5c09d58fcf 100644
--- a/lisp/browse-url.el
+++ b/lisp/browse-url.el
@@ -426,8 +426,7 @@ These might set the port, for instance."
426 :type '(repeat (string :tag "Argument")) 426 :type '(repeat (string :tag "Argument"))
427 :group 'browse-url) 427 :group 'browse-url)
428 428
429(defcustom browse-url-temp-dir 429(defcustom browse-url-temp-dir system-tmp-directory
430 (or (getenv "TMPDIR") "/tmp")
431 "The name of a directory for browse-url's temporary files. 430 "The name of a directory for browse-url's temporary files.
432Such files are generated by functions like `browse-url-of-region'. 431Such files are generated by functions like `browse-url-of-region'.
433You might want to set this to somewhere with restricted read permissions 432You might want to set this to somewhere with restricted read permissions