]> git.eshelyaron.com Git - emacs.git/commit
Use access-file in EWW to check before downloading a file
authorMark Oteiza <mvoteiza@udel.edu>
Sat, 28 Jan 2017 17:06:41 +0000 (12:06 -0500)
committerMark Oteiza <mvoteiza@udel.edu>
Sat, 28 Jan 2017 17:06:41 +0000 (12:06 -0500)
commitc7bbddf0eae653b23430c426cb75e0289e9f3a29
tree0be882e19ba442a05a50e7d6a7558af82cef87c5
parentf83363d30e1c78c228e57fe1a5e9ad8faf89f238
Use access-file in EWW to check before downloading a file

* lisp/net/eww.el (eww-download): Check accessibility of
eww-download-directory to prevent starting a download that will fail
to write.
* src/fileio.c (Faccess_file): Clarify the use of string argument in
the docstring.
lisp/net/eww.el
src/fileio.c