diff options
| author | Eli Zaretskii | 2021-07-04 15:04:52 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2021-07-04 15:04:52 +0300 |
| commit | 3dae1e42e107938ec9d7c93efec2453e7d23ab5b (patch) | |
| tree | 9da2d7bbae572f28e44e4d16c02a00b7f4a9cb21 | |
| parent | 31ed5a8c12b23011d23ccaec2b7a8d532013c83e (diff) | |
| download | emacs-3dae1e42e107938ec9d7c93efec2453e7d23ab5b.tar.gz emacs-3dae1e42e107938ec9d7c93efec2453e7d23ab5b.zip | |
* lisp/url/url-util.el (url-unhex-string): Doc fix.
| -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)) |