aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMagnus Henoch2006-11-15 23:14:49 +0000
committerMagnus Henoch2006-11-15 23:14:49 +0000
commitd58fae84a67394c2b8453e6d7efcd4817b3f4634 (patch)
treec7cccc825f67c0c9e42edd9e0e6bbfc3989f78cc
parent983252351927a446765575614836717797c77864 (diff)
downloademacs-d58fae84a67394c2b8453e6d7efcd4817b3f4634.tar.gz
emacs-d58fae84a67394c2b8453e6d7efcd4817b3f4634.zip
(url-generic-parse-url): Use with-temp-buffer.
-rw-r--r--lisp/url/ChangeLog4
-rw-r--r--lisp/url/url-parse.el3
2 files changed, 5 insertions, 2 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog
index 22fc1ab0a02..27f463b0b97 100644
--- a/lisp/url/ChangeLog
+++ b/lisp/url/ChangeLog
@@ -1,3 +1,7 @@
12006-11-15 Magnus Henoch <mange@freemail.hu>
2
3 * url-parse.el (url-generic-parse-url): Use with-temp-buffer.
4
12006-11-15 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change) 52006-11-15 Shun-ichi GOTO <gotoh@taiyo.co.jp> (tiny change)
2 6
3 * url-http.el (url-http-wait-for-headers-change-function): Defer 7 * url-http.el (url-http-wait-for-headers-change-function): Defer
diff --git a/lisp/url/url-parse.el b/lisp/url/url-parse.el
index 2e4fc8a9f27..bda303697fb 100644
--- a/lisp/url/url-parse.el
+++ b/lisp/url/url-parse.el
@@ -135,8 +135,7 @@ Format is:
135 (url-set-full retval nil) 135 (url-set-full retval nil)
136 retval)) 136 retval))
137 (t 137 (t
138 (save-excursion 138 (with-temp-buffer
139 (set-buffer (get-buffer-create " *urlparse*"))
140 (set-syntax-table url-parse-syntax-table) 139 (set-syntax-table url-parse-syntax-table)
141 (let ((save-pos nil) 140 (let ((save-pos nil)
142 (prot nil) 141 (prot nil)