247
|
1 ### aliases.ksh --- Useful shortcuts for XEmacs source hackers
|
|
2
|
|
3 # Copyright (C) 1998 Free Software Foundation, Inc.
|
|
4
|
|
5 # Author: Steve Baur
|
|
6 # Keywords: internal
|
|
7
|
|
8 # This file is part of XEmacs.
|
|
9
|
|
10 # XEmacs is free software; you can redistribute it and/or modify it
|
|
11 # under the terms of the GNU General Public License as published by
|
|
12 # the Free Software Foundation; either version 2, or (at your option)
|
|
13 # any later version.
|
|
14
|
|
15 # XEmacs is distributed in the hope that it will be useful, but
|
|
16 # WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
18 # General Public License for more details.
|
|
19
|
|
20 # You should have received a copy of the GNU General Public License
|
|
21 # along with XEmacs; see the file COPYING. If not, write to
|
|
22 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
23 # Boston, MA 02111-1307, USA.
|
|
24
|
|
25 # Shortcuts for sh-derived Unix shells (ksh, zsh, bash)
|
|
26
|
|
27 function runtemacs
|
|
28 {
|
|
29 if [ ! -x temacs ]; then
|
|
30 echo "Must be in temacs source directory to run temacs."
|
|
31 return 1;
|
|
32 fi
|
|
33
|
|
34 ./temacs -batch -l loadup.el run-temacs "$@"
|
|
35 }
|