(browse-url-temp-dir): Use system-tmp-directory.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user