[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 3dae1e4: * lisp/url/url-util.el (url-unhex-string): Doc fix.
From: |
Eli Zaretskii |
Subject: |
master 3dae1e4: * lisp/url/url-util.el (url-unhex-string): Doc fix. |
Date: |
Sun, 4 Jul 2021 08:05:10 -0400 (EDT) |
branch: master
commit 3dae1e42e107938ec9d7c93efec2453e7d23ab5b
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
* lisp/url/url-util.el (url-unhex-string): Doc fix.
---
lisp/url/url-util.el | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/lisp/url/url-util.el b/lisp/url/url-util.el
index 7c913bc..8b79736 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."
;;;###autoload
(defun url-unhex-string (str &optional allow-newlines)
- "Remove %XX embedded spaces, etc in a URL.
+ "Decode %XX sequences in a percent-encoded URL.
If optional second argument ALLOW-NEWLINES is non-nil, then allow the
decoding of carriage returns and line feeds in the string, which is normally
-forbidden in URL encoding."
+forbidden in URL encoding.
+
+The resulting string in general requires decoding using an
+appropriate coding-system; see `decode-coding-string'."
(setq str (or str ""))
(let ((tmp "")
(case-fold-search t))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 3dae1e4: * lisp/url/url-util.el (url-unhex-string): Doc fix.,
Eli Zaretskii <=