Commit d696b0d5 authored by Stefan Monnier's avatar Stefan Monnier

(url-file-handler): Save match data.

parent 1213465a
2009-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
* url-handlers.el (url-file-handler): Save match data.
2009-02-21 Jason Rumney <jasonr@gnu.org>
* url-expand.el (url-default-expander): Use concat to combine
......
......@@ -132,7 +132,7 @@ the arguments that would have been passed to OPERATION."
(hooked nil))
(if (and fn (fboundp fn))
(setq hooked t
val (apply fn args))
val (save-match-data (apply fn args)))
(setq hooked nil
val (url-run-real-handler operation args)))
(url-debug 'handlers "%s %S%S => %S" (if hooked "Hooked" "Real")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment