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: Jason Earl
Subject: Re: [SOLUTION] Open Hypspec with w3m
Date: Sat, 29 Jan 2011 10:04:39 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

On Fri, Jan 28 2011, Stefan Monnier wrote:

>> --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'.

Thanks, that is much better.  I should have read the manual more
closely.

Jason


reply via email to

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