aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/url/url-util.el7
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.
339If optional second argument ALLOW-NEWLINES is non-nil, then allow the 339If optional second argument ALLOW-NEWLINES is non-nil, then allow the
340decoding of carriage returns and line feeds in the string, which is normally 340decoding of carriage returns and line feeds in the string, which is normally
341forbidden in URL encoding." 341forbidden in URL encoding.
342
343The resulting string in general requires decoding using an
344appropriate 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))