diff options
author | Glenn Morris <rgm@gnu.org> | 2019-03-20 13:47:07 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2019-03-20 13:47:07 -0700 |
commit | 1fc6afbdf1ce0f8b23780bd4d2630ed49f365013 (patch) | |
tree | 515068805cee7b3c5c7fff7e924c2594b2572764 /lisp/url | |
parent | 99b3d64e54bb896e7b35567ac7022f9d3fb16bbb (diff) | |
parent | 24b6e6edcfe034f76de475657cb3997821cfd1f0 (diff) | |
download | emacs-1fc6afbdf1ce0f8b23780bd4d2630ed49f365013.tar.gz emacs-1fc6afbdf1ce0f8b23780bd4d2630ed49f365013.tar.bz2 emacs-1fc6afbdf1ce0f8b23780bd4d2630ed49f365013.zip |
Merge from origin/emacs-26
24b6e6e (origin/emacs-26) * etc/AUTHORS: Update.
2f22a17 * ; ChangeLog.3 update
0f523de Improve indexing of the user manual
bd5795e Fix url-copy-file arglist
eaa188a ; * admin/notes/bugtracker: Minor additions and updates.
5ed05fb Fix downloading updates for packages with non-ASCII descriptions
e9f2d1f * etc/NEWS: Remove temporary markers.
24fc133 * doc/misc/cc-mode.texi (Config Basics): in @itemize, @asis -...
0f325d1 Don't clobber 'comint-input-autoexpand' in 'read-shell-command'
bc75589 Document restrictions when setting window margins, fringes or...
cc4cebf More improvements for 'read-buffer's doc string
d026d9a * lisp/progmodes/cc-defs.el: Update c-version to 5.33.2 for E...
5dbf08b * src/minibuf.c (Fread_buffer): Minor doc fixes. (Bug#34749)
# Conflicts:
# etc/NEWS
# lisp/url/url-handlers.el
Diffstat (limited to 'lisp/url')
-rw-r--r-- | lisp/url/url-handlers.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/url/url-handlers.el b/lisp/url/url-handlers.el index 2d0a4a21c44..e35d999e0fe 100644 --- a/lisp/url/url-handlers.el +++ b/lisp/url/url-handlers.el @@ -44,7 +44,7 @@ (declare-function mail-content-type-get "mail-parse" (ct attribute)) ;; mm-decode loads mm-bodies, which loads mm-util. (declare-function mm-charset-to-coding-system "mm-util" - (charset &optional lbt allow-override silent)) + (charset &optional lbt allow-override silent)) ;; Implementation status ;; --------------------- @@ -260,15 +260,15 @@ the arguments that would have been passed to OPERATION." ;; The actual implementation ;;;###autoload (defun url-copy-file (url newname &optional ok-if-already-exists - _keep-time _preserve-uid-gid) + _keep-time _preserve-uid-gid _preserve-permissions) "Copy URL to NEWNAME. Both args must be strings. -Signals a `file-already-exists' error if file NEWNAME already exists, +Signal a `file-already-exists' error if file NEWNAME already exists, unless a third argument OK-IF-ALREADY-EXISTS is supplied and non-nil. A number as third arg means request confirmation if NEWNAME already exists. This is what happens in interactive use with M-x. Fourth arg KEEP-TIME non-nil means give the new file the same last-modified time as the old one. (This works on only some systems.) -Fifth arg PRESERVE-UID-GID is ignored. +Args PRESERVE-UID-GID and PRESERVE-PERMISSIONS are ignored. A prefix arg makes KEEP-TIME non-nil." (if (and (file-exists-p newname) (not ok-if-already-exists)) @@ -351,7 +351,7 @@ if it had been inserted from a file named URL." (unless buffer (signal 'file-error (list url "No Data"))) (with-current-buffer buffer ;; XXX: This is HTTP/S specific and should be moved to url-http - ;; instead. See https://debbugs.gnu.org/17549. + ;; instead. See bug#17549. (when (bound-and-true-p url-http-response-status) ;; Don't signal an error if VISIT is non-nil, because ;; 'insert-file-contents' doesn't. This is required to @@ -364,7 +364,7 @@ if it had been inserted from a file named URL." (< url-http-response-status 300))) (let ((desc (nth 2 (assq url-http-response-status url-http-codes)))) (kill-buffer buffer) - ;; Signal file-error per https://debbugs.gnu.org/16733. + ;; Signal file-error per bug#16733. (signal 'file-error (list url desc)))))) (url-insert-buffer-contents buffer url visit beg end replace))) |