From: Richard M. Stallman Date: Sat, 16 May 1998 03:40:39 +0000 (+0000) Subject: (browse-url-temp-dir): Use system-tmp-directory. X-Git-Tag: emacs-20.3~990 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ff432440bc3401eed5822cc3ed7802eddae4fa5b;p=emacs.git (browse-url-temp-dir): Use system-tmp-directory. --- 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