# HG changeset patch # User Richard M. Stallman # Date 827885394 0 # Node ID 96423e733197ab36db900c1b23875c00646c0463 # Parent 38e792454ee3ec920cd5e2112333b04f0b46df56 (sh-shell-arg): Add no options for bash, ksh, or wksh. diff -r 38e792454ee3 -r 96423e733197 lisp/progmodes/sh-script.el --- a/lisp/progmodes/sh-script.el Wed Mar 27 00:08:15 1996 +0000 +++ b/lisp/progmodes/sh-script.el Wed Mar 27 00:09:54 1996 +0000 @@ -105,16 +105,19 @@ "*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'.")