Mercurial > emacs
diff lisp/url/url-cache.el @ 96486:7369ded3b436
Typo and docstring fixes.
* url.el (url-do-setup):
* url-dired.el (url-dired-minor-mode):
* url-file.el (url-file-find-possibly-compressed-file):
* url-gw.el (url-gateway-broken-resolution):
* url-handlers.el (url-handler-regexp):
* url-imap.el (url-imap-default-port):
* url-methods.el (url-scheme-get-property): Fix typos in docstrings.
* url-auth.el (url-basic-auth-storage, url-digest-auth):
Fix typos in docstrings.
(url-digest-auth-storage, url-register-auth-scheme): Reflow docstrings.
* url-cache.el (url-cache-prepare): Doc fix.
(url-cache-create-filename-human-readable, url-cache-extract):
Fix typos in docstrings.
* url-dav.el (url-intersection, url-dav-iso8601-regexp)
(url-dav-delete-something): Fix typos in docstrings.
(url-dav-http-success-p, url-dav-file-name-all-completions)
(url-dav-directory-files, url-dav-file-name-completion): Doc fixes.
* url-http.el (url-http-idle-sentinel): Doc fix.
* url-irc.el (url-irc-default-port): Fix typo in docstring.
(url-irc-function): Doc fix.
* url-util.el (url-get-url-filename-chars, url-unhex-string):
Fix typos in docstrings.
(url-file-extension): Doc fix.
* url-vars.el (url-current-object, url-current-mime-headers)
(url-privacy-level, url-mail-command, url-mime-language-string):
Fix typos in docstrings.
(url-honor-refresh-requests): Reflow docstring.
(url-using-proxy): Doc fix.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Wed, 02 Jul 2008 11:14:38 +0000 |
parents | 8259d0d8e107 |
children | a9dc0e7c3f2b |
line wrap: on
line diff
--- a/lisp/url/url-cache.el Wed Jul 02 03:12:14 2008 +0000 +++ b/lisp/url/url-cache.el Wed Jul 02 11:14:38 2008 +0000 @@ -46,8 +46,8 @@ that would stop this. Returns nil if parent directories can not be created. If FILE already exists as a non-directory, it changes permissions of FILE or deletes FILE to make it possible to write a new -version of FILE. Returns nil if this can not be done. Returns nil if -FILE already exists as a directory. Otherwise, returns t, indicating that +version of FILE. Returns nil if this can not be done, or if FILE already +exists as a directory. Otherwise, returns t, indicating that FILE can be created or overwritten." (cond ((url-cache-file-writable-p file) @@ -82,7 +82,7 @@ (nth 5 attribs)))) ; Can get last mod-time (defun url-cache-create-filename-human-readable (url) - "Return a filename in the local cache for URL" + "Return a filename in the local cache for URL." (if url (let* ((url (if (vectorp url) (url-recreate-url url) url)) (urlobj (url-generic-parse-url url)) @@ -178,7 +178,7 @@ ;;;###autoload (defun url-cache-extract (fnam) - "Extract FNAM from the local disk cache" + "Extract FNAM from the local disk cache." (erase-buffer) (insert-file-contents-literally fnam))