Mercurial > emacs
changeset 74014:fd0232950658
(url-generic-parse-url): Use with-temp-buffer.
author | Magnus Henoch <mange@freemail.hu> |
---|---|
date | Wed, 15 Nov 2006 23:14:39 +0000 |
parents | 164e49fc12a7 |
children | 3b7b97e1a3e9 |
files | lisp/url/url-parse.el |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/url/url-parse.el Wed Nov 15 23:07:23 2006 +0000 +++ b/lisp/url/url-parse.el Wed Nov 15 23:14:39 2006 +0000 @@ -135,8 +135,7 @@ (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)