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

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

Re: Opening an info page by command name, take 2


From: Stephen Berman
Subject: Re: Opening an info page by command name, take 2
Date: Thu, 13 Dec 2007 13:34:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

On Thu, 13 Dec 2007 12:56:43 +0200 Sebastian Tennant <sebyte@smolny.plus.com> 
wrote:

> Quoth Stephen Berman <Stephen.Berman@gmx.net>:
>> Here's something that may help you.
>>
>> (defun srb-info ()
[...]
> A handy function that provides completion on a sensible subset of the
> files actually found in the info directory, but the OP was interested in
> opening info (in emacs) directly from the command line.

Put the defun followed by its invocation (i.e., (srb-info) in a file
srb-info.el and make the following shell script (call it e.g. srb-info):

------------8<------------
#!/bin/sh

emacs -Q -l "/path/to/srb-info.el"
------------>8------------

Steve Berman





reply via email to

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