mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-27 19:31:38 +00:00
(top): Use mapc' rather than
mapcar'.
This commit is contained in:
parent
4e454e5bed
commit
259b63b41b
@ -1,3 +1,8 @@
|
||||
2007-09-26 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* url-dav.el (top):
|
||||
* url-vars.el (top): Use `mapc' rather than `mapcar'.
|
||||
|
||||
2007-09-22 Diane Murray <disumu@x3y2z1.net>
|
||||
|
||||
* url-misc.el (url-generic-emulator-loader): Send the port as a
|
||||
|
@ -194,7 +194,7 @@
|
||||
(while children
|
||||
(setq node (car children)
|
||||
node-type (intern
|
||||
(or
|
||||
(or
|
||||
(cdr-safe (assq url-dav-datatype-attribute
|
||||
(xml-node-attributes node)))
|
||||
"unknown"))
|
||||
@ -864,7 +864,7 @@ If NOSORT is non-nil, the list is not sorted--its order is unpredictable.
|
||||
(exists-p (url-http-file-exists-p newname)))
|
||||
|
||||
(if (and exists-p
|
||||
(or
|
||||
(or
|
||||
(null overwrite)
|
||||
(and (numberp overwrite)
|
||||
(not (yes-or-no-p
|
||||
@ -933,19 +933,19 @@ Returns nil if DIR contains no name starting with FILE."
|
||||
(defun url-dav-register-handler (op)
|
||||
(put op 'url-file-handlers (intern-soft (format "url-dav-%s" op))))
|
||||
|
||||
(mapcar 'url-dav-register-handler
|
||||
;; These handlers are disabled because they incorrectly presume that
|
||||
;; the URL specifies an HTTP location and thus break FTP URLs.
|
||||
'(;; file-name-all-completions
|
||||
;; file-name-completion
|
||||
;; rename-file
|
||||
;; make-directory
|
||||
;; file-directory-p
|
||||
;; directory-files
|
||||
;; delete-file
|
||||
;; delete-directory
|
||||
;; file-attributes
|
||||
))
|
||||
(mapc 'url-dav-register-handler
|
||||
;; These handlers are disabled because they incorrectly presume that
|
||||
;; the URL specifies an HTTP location and thus break FTP URLs.
|
||||
'(;; file-name-all-completions
|
||||
;; file-name-completion
|
||||
;; rename-file
|
||||
;; make-directory
|
||||
;; file-directory-p
|
||||
;; directory-files
|
||||
;; delete-file
|
||||
;; delete-directory
|
||||
;; file-attributes
|
||||
))
|
||||
|
||||
|
||||
;;; Version Control backend cruft
|
||||
|
@ -62,12 +62,12 @@
|
||||
(defvar url-current-mime-headers nil
|
||||
"A parsed representation of the MIME headers for the current url.")
|
||||
|
||||
(mapcar 'make-variable-buffer-local
|
||||
'(
|
||||
url-current-object
|
||||
url-current-referer
|
||||
url-current-mime-headers
|
||||
))
|
||||
(mapc 'make-variable-buffer-local
|
||||
'(
|
||||
url-current-object
|
||||
url-current-referer
|
||||
url-current-mime-headers
|
||||
))
|
||||
|
||||
(defcustom url-honor-refresh-requests t
|
||||
"*Whether to do automatic page reloads.
|
||||
|
Loading…
Reference in New Issue
Block a user