diff options
| -rw-r--r-- | lisp/url/url-util.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/url/url-util.el b/lisp/url/url-util.el index 7c913bcb1a9..8b79736d004 100644 --- a/lisp/url/url-util.el +++ b/lisp/url/url-util.el | |||
| @@ -335,10 +335,13 @@ instead of just \"key\" as in the example above." | |||
| 335 | 335 | ||
| 336 | ;;;###autoload | 336 | ;;;###autoload |
| 337 | (defun url-unhex-string (str &optional allow-newlines) | 337 | (defun url-unhex-string (str &optional allow-newlines) |
| 338 | "Remove %XX embedded spaces, etc in a URL. | 338 | "Decode %XX sequences in a percent-encoded URL. |
| 339 | If optional second argument ALLOW-NEWLINES is non-nil, then allow the | 339 | If optional second argument ALLOW-NEWLINES is non-nil, then allow the |
| 340 | decoding of carriage returns and line feeds in the string, which is normally | 340 | decoding of carriage returns and line feeds in the string, which is normally |
| 341 | forbidden in URL encoding." | 341 | forbidden in URL encoding. |
| 342 | |||
| 343 | The resulting string in general requires decoding using an | ||
| 344 | appropriate coding-system; see `decode-coding-string'." | ||
| 342 | (setq str (or str "")) | 345 | (setq str (or str "")) |
| 343 | (let ((tmp "") | 346 | (let ((tmp "") |
| 344 | (case-fold-search t)) | 347 | (case-fold-search t)) |