diff options
| author | Juanma Barranquero | 2007-09-26 00:39:23 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2007-09-26 00:39:23 +0000 |
| commit | 259b63b41bcf2490ee3952f2e50e513bf387d200 (patch) | |
| tree | 8c24900de9db416fd5a8dc4628745605468b7316 | |
| parent | 4e454e5bed3bffcbf38ac291b092c346a6b177cf (diff) | |
| download | emacs-259b63b41bcf2490ee3952f2e50e513bf387d200.tar.gz emacs-259b63b41bcf2490ee3952f2e50e513bf387d200.zip | |
(top): Use `mapc' rather than `mapcar'.
| -rw-r--r-- | lisp/url/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/url/url-dav.el | 30 | ||||
| -rw-r--r-- | lisp/url/url-vars.el | 12 |
3 files changed, 26 insertions, 21 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index 05be493b74e..5da6a1fbae3 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-09-26 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * url-dav.el (top): | ||
| 4 | * url-vars.el (top): Use `mapc' rather than `mapcar'. | ||
| 5 | |||
| 1 | 2007-09-22 Diane Murray <disumu@x3y2z1.net> | 6 | 2007-09-22 Diane Murray <disumu@x3y2z1.net> |
| 2 | 7 | ||
| 3 | * url-misc.el (url-generic-emulator-loader): Send the port as a | 8 | * url-misc.el (url-generic-emulator-loader): Send the port as a |
diff --git a/lisp/url/url-dav.el b/lisp/url/url-dav.el index b58c1672865..3c2ea872134 100644 --- a/lisp/url/url-dav.el +++ b/lisp/url/url-dav.el | |||
| @@ -194,7 +194,7 @@ | |||
| 194 | (while children | 194 | (while children |
| 195 | (setq node (car children) | 195 | (setq node (car children) |
| 196 | node-type (intern | 196 | node-type (intern |
| 197 | (or | 197 | (or |
| 198 | (cdr-safe (assq url-dav-datatype-attribute | 198 | (cdr-safe (assq url-dav-datatype-attribute |
| 199 | (xml-node-attributes node))) | 199 | (xml-node-attributes node))) |
| 200 | "unknown")) | 200 | "unknown")) |
| @@ -864,7 +864,7 @@ If NOSORT is non-nil, the list is not sorted--its order is unpredictable. | |||
| 864 | (exists-p (url-http-file-exists-p newname))) | 864 | (exists-p (url-http-file-exists-p newname))) |
| 865 | 865 | ||
| 866 | (if (and exists-p | 866 | (if (and exists-p |
| 867 | (or | 867 | (or |
| 868 | (null overwrite) | 868 | (null overwrite) |
| 869 | (and (numberp overwrite) | 869 | (and (numberp overwrite) |
| 870 | (not (yes-or-no-p | 870 | (not (yes-or-no-p |
| @@ -933,19 +933,19 @@ Returns nil if DIR contains no name starting with FILE." | |||
| 933 | (defun url-dav-register-handler (op) | 933 | (defun url-dav-register-handler (op) |
| 934 | (put op 'url-file-handlers (intern-soft (format "url-dav-%s" op)))) | 934 | (put op 'url-file-handlers (intern-soft (format "url-dav-%s" op)))) |
| 935 | 935 | ||
| 936 | (mapcar 'url-dav-register-handler | 936 | (mapc 'url-dav-register-handler |
| 937 | ;; These handlers are disabled because they incorrectly presume that | 937 | ;; These handlers are disabled because they incorrectly presume that |
| 938 | ;; the URL specifies an HTTP location and thus break FTP URLs. | 938 | ;; the URL specifies an HTTP location and thus break FTP URLs. |
| 939 | '(;; file-name-all-completions | 939 | '(;; file-name-all-completions |
| 940 | ;; file-name-completion | 940 | ;; file-name-completion |
| 941 | ;; rename-file | 941 | ;; rename-file |
| 942 | ;; make-directory | 942 | ;; make-directory |
| 943 | ;; file-directory-p | 943 | ;; file-directory-p |
| 944 | ;; directory-files | 944 | ;; directory-files |
| 945 | ;; delete-file | 945 | ;; delete-file |
| 946 | ;; delete-directory | 946 | ;; delete-directory |
| 947 | ;; file-attributes | 947 | ;; file-attributes |
| 948 | )) | 948 | )) |
| 949 | 949 | ||
| 950 | 950 | ||
| 951 | ;;; Version Control backend cruft | 951 | ;;; Version Control backend cruft |
diff --git a/lisp/url/url-vars.el b/lisp/url/url-vars.el index 35e69e7990b..7ddab8aab64 100644 --- a/lisp/url/url-vars.el +++ b/lisp/url/url-vars.el | |||
| @@ -62,12 +62,12 @@ | |||
| 62 | (defvar url-current-mime-headers nil | 62 | (defvar url-current-mime-headers nil |
| 63 | "A parsed representation of the MIME headers for the current url.") | 63 | "A parsed representation of the MIME headers for the current url.") |
| 64 | 64 | ||
| 65 | (mapcar 'make-variable-buffer-local | 65 | (mapc 'make-variable-buffer-local |
| 66 | '( | 66 | '( |
| 67 | url-current-object | 67 | url-current-object |
| 68 | url-current-referer | 68 | url-current-referer |
| 69 | url-current-mime-headers | 69 | url-current-mime-headers |
| 70 | )) | 70 | )) |
| 71 | 71 | ||
| 72 | (defcustom url-honor-refresh-requests t | 72 | (defcustom url-honor-refresh-requests t |
| 73 | "*Whether to do automatic page reloads. | 73 | "*Whether to do automatic page reloads. |