]> git.eshelyaron.com Git - emacs.git/commit
Fix url-copy-file argument handling
authorBasil L. Contovounesios <contovob@tcd.ie>
Thu, 16 May 2019 15:29:49 +0000 (16:29 +0100)
committerBasil L. Contovounesios <contovob@tcd.ie>
Thu, 23 May 2019 00:41:00 +0000 (01:41 +0100)
commit72047556fa391016ab507c02c2f489c97b53f088
treeb21262c27747e6231fc3bfc518922b5e711a2184
parent70839740214c5fac91536df8bd4cd7af23afa3b2
Fix url-copy-file argument handling

For discussion, see the following thread:
https://lists.gnu.org/archive/html/emacs-devel/2019-05/msg00500.html
* lisp/url/url-handlers.el: Update autoloaded docstrings.
Quote function symbols as such.
(url-handler-regexp): Make grouping construct shy.
(url-file-handler, url-insert-buffer-contents)
(url-handlers-create-wrapper, url-handlers-set-buffer-mode):
Simplify.
(url-file-handler-identity): Clarify calling convention.
(file-name-absolute-p, url-file-local-copy): Mark ignored arguments
as such.
(url-handler-directory-file-name): Prefer string comparison over
regexp match where either will do.
(url-copy-file): Handle integer as third argument as per copy-file.
lisp/url/url-handlers.el