summaryrefslogtreecommitdiff
path: root/lisp/browse-url.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-05-16 03:40:39 +0000
committerRichard M. Stallman <rms@gnu.org>1998-05-16 03:40:39 +0000
commit32959aa9a6e1c27e1832798a974b42e8b9b5d8c9 (patch)
tree3c2b3d746ab04062c9311d3cab3f1bee573ae8a6 /lisp/browse-url.el
parentd9d2882f3995a1277b4e7e25905ec2eaf7e99a38 (diff)
downloademacs-32959aa9a6e1c27e1832798a974b42e8b9b5d8c9.tar.gz
(browse-url-temp-dir): Use system-tmp-directory.
Diffstat (limited to 'lisp/browse-url.el')
-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."
:type '(repeat (string :tag "Argument"))
:group 'browse-url)
-(defcustom browse-url-temp-dir
- (or (getenv "TMPDIR") "/tmp")
+(defcustom browse-url-temp-dir system-tmp-directory
"The name of a directory for browse-url's temporary files.
Such files are generated by functions like `browse-url-of-region'.
You might want to set this to somewhere with restricted read permissions