summaryrefslogtreecommitdiff
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-03-27 00:09:54 +0000
committerRichard M. Stallman <rms@gnu.org>1996-03-27 00:09:54 +0000
commiteac30c77f32944d1533a77491992416170627a6d (patch)
tree18c437ede894e8073dca4061e529e57eda43e947 /lisp/progmodes
parent8c480547e6908f2f5d4862bee9056aac3a8564d9 (diff)
downloademacs-eac30c77f32944d1533a77491992416170627a6d.tar.gz
(sh-shell-arg): Add no options for bash, ksh, or wksh.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/sh-script.el11
1 files changed, 7 insertions, 4 deletions
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index fcc3c800cae..bb19b1176f2 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -105,16 +105,19 @@ shell it really is.")
"*The executable file name for the shell being programmed.")
-;; bash and ksh do not need any options when run in a shell script,
-;; and Bill_Mann@praxisint.com says -p with ksh can do harm.
(defvar sh-shell-arg
+ ;; bash does not need any options when run in a shell script,
'((bash)
(csh . "-f")
(pdksh)
+ ;; Bill_Mann@praxisint.com says -p with ksh can do harm.
(ksh88)
- ;; Bill_Mann@praxisint.com says -p may be wrong for this too.
+ ;; -p means don't initialize functions from the environment.
(rc . "-p")
- (wksh . "-motif")
+ ;; Someone proposed -motif, but we don't want to encourage
+ ;; use of a non-free widget set.
+ (wksh)
+ ;; -f means don't run .zshrc.
(zsh . "-f"))
"*Single argument string for the magic number. See `sh-feature'.")