view examples/info-emacs-octave-help @ 5103:e2ed74b9bfa0 after-gnuplot-split

[project @ 2004-12-28 02:43:01 by jwe]
author jwe
date Tue, 28 Dec 2004 02:43:01 +0000
parents 32259460c627
children 2a16423e4aa0
line wrap: on
line source

#!/bin/sh
# info-emacs-octave-help
# Written by KH <Kurt.Hornik@ci.tuwien.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