Remove current_url parameter of Python goto_url_hook?
Kalle Olavi Niemitalo <[email protected]>
| Newsgroups | gmane.comp.web.links |
|---|---|
| Message-ID | <[email protected]> |
src/scripting/python/hooks.c (script_hook_url) calls hooks as goto_url_hook(new-url, current-url) and follow_url_hook(new-url). It has a comment saying that the current-url parameter exists only for compatibility and that the script can instead use elinks.current_url(). However, the current-url parameter was added in commit 87e27b9b3e47671484c7eb77d61b75fffc89624f and is not in ELinks 0.11.2, so any compatibility problems would only hit people who have been using 0.12.GIT snapshots. Can we remove the second parameter now before releasing ELinks 0.12pre1? _______________________________________________ elinks-dev mailing list [email protected] http://linuxfromscratch.org/mailman/listinfo/elinks-dev
signature.asc
(application/pgp-signature, 188 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFl4NQHm9IGt60eMgRAnjeAJ404D27HbXKhV8XXf1pkVNIG/LENwCgsVtM eQB8KTB2+fo37VDfRRfVk2w= =sTXT -----END PGP SIGNATURE-----