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

Re: default info browser



>>>>> Jim Ottaway <j.ottaway@lse.ac.uk> writes:

>> What I'd like to do is force emacs to be my info browser, so that
>> 'info foo', for example, will start up emacs, load up info, and
>> open the 'foo' info page. Any ideas?

> You could do something in a script with emacsclient,

> emacsclient --eval "(info \"(Emacs)Top\")"

> goes to the emacs info page in emacs info mode, for example, so
> something like

> emacsclient --eval "(info \"(${1})Top\")"

> ought to work

Sorry, I missed where you said you wanted to start up an emacs; I assumed
you would already have one running. 

-- 
Jim Ottaway



Reply to: