]> git.eshelyaron.com Git - emacs.git/commitdiff
(shell-command): Undo last change.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 16 May 2003 21:17:52 +0000 (21:17 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 16 May 2003 21:17:52 +0000 (21:17 +0000)
lisp/simple.el

index 39a34f7f4a338d8855c8b3affef27d210dbc7126..c726bf745bc6a84d3dd26e585ee0566d88388e4a 100644 (file)
@@ -1348,7 +1348,7 @@ specifies the value of ERROR-BUFFER."
                  (setq proc (start-process "Shell" buffer shell-file-name
                                            shell-command-switch command))
                  (setq mode-line-process '(":%s"))
-                 (shell-mode)
+                 (require 'shell) (shell-mode)
                  (set-process-sentinel proc 'shell-command-sentinel)
                  ))
            (shell-command-on-region (point) (point) command