Index: lisp/shell.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/shell.el,v retrieving revision 1.140 diff -c -r1.140 shell.el *** lisp/shell.el 2 Sep 2006 23:30:21 -0000 1.140 --- lisp/shell.el 15 Oct 2006 19:11:30 -0000 *************** *** 293,299 **** (equal name "bash") (file-executable-p prog) (string-match "bad option" ! (shell-command-to-string (concat prog " --noediting")))) '("-i") '("--noediting" "-i"))) "Args passed to inferior shell by \\[shell], if the shell is bash. --- 293,300 ---- (equal name "bash") (file-executable-p prog) (string-match "bad option" ! (shell-command-to-string ! (concat (shell-quote-argument prog) " --noediting")))) '("-i") '("--noediting" "-i"))) "Args passed to inferior shell by \\[shell], if the shell is bash.