comparison examples/info-emacs-octave-help @ 7019:4270ded9ddc6

[project @ 2007-10-13 01:42:20 by jwe]
author jwe
date Sat, 13 Oct 2007 01:42:21 +0000
parents 95e9ba7cb502
children
comparison
equal deleted inserted replaced
7018:fd42779a8428 7019:4270ded9ddc6
1 #! /bin/sh 1 #! /bin/sh
2 # info-emacs-octave-help 2 # info-emacs-octave-help
3 #
4 # Copyright (C) 1996, 1997, 2005, 2007 Kurt Hornik
5 #
6 # This file is part of Octave.
7 #
8 # Octave is free software; you can redistribute it and/or modify it
9 # under the terms of the GNU General Public License as published by the
10 # Free Software Foundation; either version 3 of the License, or (at
11 # your option) any later version.
12 #
13 # Octave is distributed in the hope that it will be useful, but WITHOUT
14 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 # for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with Octave; see the file COPYING. If not, see
20 # <http://www.gnu.org/licenses/>.
21
3 # Written by KH <Kurt.Hornik@wu-wien.ac.at> on 1996/07/01 22 # Written by KH <Kurt.Hornik@wu-wien.ac.at> on 1996/07/01
4 # Updated by KH on 1997/03/04 23 # Updated by KH on 1997/03/04
24
5 # Make Octave's `help -i' use Emacs octave-help. 25 # Make Octave's `help -i' use Emacs octave-help.
6 # Requires a running Emacs and gnuserv. 26 # Requires a running Emacs and gnuserv.
27
7 cmd="(require 'octave-hlp)" 28 cmd="(require 'octave-hlp)"
8 if [ $3 = "--directory" ]; 29 if [ $3 = "--directory" ];
9 then 30 then
10 cmd="$cmd (add-to-list 'Info-directory-list \"$4\")" 31 cmd="$cmd (add-to-list 'Info-directory-list \"$4\")"
11 shift 2 32 shift 2