comparison lisp/browse-url.el @ 22087:f472b66ed66b

(browse-url-temp-dir): Use system-tmp-directory.
author Richard M. Stallman <rms@gnu.org>
date Sat, 16 May 1998 03:40:39 +0000
parents 4d63d262b3d5
children 67273fd206b7
comparison
equal deleted inserted replaced
22086:81147e51c3e2 22087:f472b66ed66b
424 (defcustom browse-url-generic-args nil 424 (defcustom browse-url-generic-args nil
425 "*A list of strings defining options for `browse-url-generic-program'." 425 "*A list of strings defining options for `browse-url-generic-program'."
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.
432 Such files are generated by functions like `browse-url-of-region'. 431 Such files are generated by functions like `browse-url-of-region'.
433 You might want to set this to somewhere with restricted read permissions 432 You might want to set this to somewhere with restricted read permissions
434 for privacy's sake." 433 for privacy's sake."
435 :type 'string 434 :type 'string