[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: w3m-search.el



TSUCHIYA Masatoshi <tsuchiya@pine.kuee.kyoto-u.ac.jp> writes:

> I propose the attached change that improves w3m-uri-replace() to
> support all modifications used in w3m-search-quick-search-handler().

You probably meant

+		  (cond
+		   ((functionp (cadr elem))
+		    (apply (cadr elem) uri (cddr elem)))

instead of 

+		  (cond
+		   ((functionp (cdr elem))
+		    (apply (cadr elem) uri (cddr elem)))

Apart from that, I think it's less generic than the hook solution I
proposed, but you obviously weren't a big fan of it, so let's move on
and use your solution.  I will rewrite my local customizations to use
w3m-uri-replace.

Cheers,

-- 
Romain FRANCOISE <romain@orebokech.com> | I just thought I'd go out
it's a miracle -- http://orebokech.com/ | with a little bit more style.