Mercurial > hg > octave-nkf
changeset 2792:32259460c627
[project @ 1997-03-06 09:27:29 by jwe]
info-emacs-octave-help
author | jwe |
---|---|
date | Thu, 06 Mar 1997 09:27:29 +0000 |
parents | ef422e6f6138 |
children | 0dfaf23b311d |
files | examples/info-emacs-octave-help |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/examples/info-emacs-octave-help +++ b/examples/info-emacs-octave-help @@ -1,14 +1,14 @@ #!/bin/sh # info-emacs-octave-help # Written by KH <Kurt.Hornik@ci.tuwien.ac.at> on 1996/07/01 -# Updated by KH on 1997/01/30 +# Updated by KH on 1997/03/04 # Make Octave's `help -i' use Emacs octave-help. # Requires a running Emacs and gnuserv. -cmd="(load \"octave-hlp\")" +cmd="(require 'octave-hlp)" if [ $3 = "--directory" ]; then - cmd="$cmd (add-to-list 'Info-directory-list \"$4\")" - shift 2 + cmd="$cmd (add-to-list 'Info-directory-list \"$4\")" + shift 2 fi cmd="$cmd (octave-help \"$4\")" gnudoit -q $cmd