mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 18:37:33 +00:00
(browse-url-netscape): Fix format for hex escapes.
This commit is contained in:
parent
1b23dc8205
commit
ddff3d800e
1 changed files with 1 additions and 1 deletions
|
|
@ -700,7 +700,7 @@ used instead of `browse-url-new-window-p'."
|
|||
;; include at least commas; presumably also close parens.
|
||||
(while (string-match "[,)]" url)
|
||||
(setq url (replace-match
|
||||
(format "%x" (string-to-char (match-string 0 url))) t t url)))
|
||||
(format "%%%x" (string-to-char (match-string 0 url))) t t url)))
|
||||
(let* ((process-environment (browse-url-process-environment))
|
||||
(process (apply 'start-process
|
||||
(concat "netscape " url) nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue