annotate examples/info-emacs-octave-help @ 5428:2a16423e4aa0
[project @ 2005-08-23 18:38:27 by jwe]
author |
jwe |
date |
Tue, 23 Aug 2005 18:38:28 +0000 |
parents |
32259460c627 |
children |
5e881924e645 |
rev |
line source |
2308
|
1 #!/bin/sh |
|
2 # info-emacs-octave-help |
5428
|
3 # Written by KH <Kurt.Hornik@wu-wien.ac.at> on 1996/07/01 |
2792
|
4 # Updated by KH on 1997/03/04 |
2308
|
5 # Make Octave's `help -i' use Emacs octave-help. |
2661
|
6 # Requires a running Emacs and gnuserv. |
2792
|
7 cmd="(require 'octave-hlp)" |
2308
|
8 if [ $3 = "--directory" ]; |
|
9 then |
2792
|
10 cmd="$cmd (add-to-list 'Info-directory-list \"$4\")" |
|
11 shift 2 |
2308
|
12 fi |
|
13 cmd="$cmd (octave-help \"$4\")" |
|
14 gnudoit -q $cmd |