1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

(url-generic-parse-url): Use with-temp-buffer.

This commit is contained in:
Magnus Henoch 2006-11-15 23:14:49 +00:00
parent 9832523519
commit d58fae84a6
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2006-11-15 Magnus Henoch <mange@freemail.hu>
* url-parse.el (url-generic-parse-url): Use with-temp-buffer.
2006-11-15 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
* url-http.el (url-http-wait-for-headers-change-function): Defer

View file

@ -135,8 +135,7 @@ Format is:
(url-set-full retval nil)
retval))
(t
(save-excursion
(set-buffer (get-buffer-create " *urlparse*"))
(with-temp-buffer
(set-syntax-table url-parse-syntax-table)
(let ((save-pos nil)
(prot nil)