Function: webjump-url-encode
webjump-url-encode is a byte-compiled function defined in
webjump.el.gz.
Signature
(webjump-url-encode STR)
Source Code
;; Defined in /usr/src/emacs/lisp/net/webjump.el.gz
(defun webjump-url-encode (str)
(mapconcat (lambda (c)
(let ((s (char-to-string c)))
(cond ((string= s " ") "+")
((string-match "[a-zA-Z_./~-]" s) s)
(t (upcase (format "%%%02x" c))))))
(encode-coding-string str 'utf-8)
""))