help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: [SOLUTION] Open Hypspec with w3m


From: Stefan Monnier
Subject: Re: [SOLUTION] Open Hypspec with w3m
Date: Fri, 28 Jan 2011 21:36:24 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> --8<---------------cut here---------------start------------->8---
> (defadvice hyperspec-lookup (around hyperspec-lookup-around)
>   "I always want `hyperspec-lookup' to use 'w3m-browse-url."
>   (let ((browse-url-browser-function 'w3m-browse-url))
>     ad-do-it))

> (ad-activate 'hyperspec-lookup)
> --8<---------------cut here---------------end--------------->8---
IIRC you can replace the call to ad-activate with an `activate' argument
after `hyperspec-lookup-around'.


        Stefan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]