emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/shell.el,v


From: Kim F. Storm
Subject: [Emacs-diffs] Changes to emacs/lisp/shell.el,v
Date: Sun, 15 Oct 2006 20:42:10 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Kim F. Storm <kfstorm>  06/10/15 20:42:10

Index: shell.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/shell.el,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -b -r1.142 -r1.143
--- shell.el    9 Oct 2006 15:08:41 -0000       1.142
+++ shell.el    15 Oct 2006 20:42:10 -0000      1.143
@@ -298,7 +298,9 @@
             (equal name "bash")
             (file-executable-p prog)
             (string-match "bad option"
-                          (shell-command-to-string (concat prog " 
--noediting"))))
+                          (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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]