Mercurial > hg > octave-nkf
view examples/info-emacs-octave-help @ 5501:f2b9aa13f2bf
[project @ 2005-10-18 19:25:14 by jwe]
author | jwe |
---|---|
date | Tue, 18 Oct 2005 19:25:14 +0000 |
parents | 2a16423e4aa0 |
children | 5e881924e645 |
line wrap: on
line source
#!/bin/sh # info-emacs-octave-help # Written by KH <Kurt.Hornik@wu-wien.ac.at> on 1996/07/01 # Updated by KH on 1997/03/04 # Make Octave's `help -i' use Emacs octave-help. # Requires a running Emacs and gnuserv. cmd="(require 'octave-hlp)" if [ $3 = "--directory" ]; then cmd="$cmd (add-to-list 'Info-directory-list \"$4\")" shift 2 fi cmd="$cmd (octave-help \"$4\")" gnudoit -q $cmd