summaryrefslogtreecommitdiff
path: root/lisp/shell.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/shell.el')
-rw-r--r--lisp/shell.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/shell.el b/lisp/shell.el
index 0f7eca3557e..dbc64c10908 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -554,6 +554,7 @@ Otherwise, one argument `-i' is passed to the shell.
(read-file-name
"Default directory: " default-directory default-directory
t nil 'file-directory-p))))))))
+ (require 'ansi-color)
(setq buffer (get-buffer-create (or buffer "*shell*")))
;; Pop to buffer, so that the buffer's window will be correctly set
;; when we call comint (so that comint sets the COLUMNS env var properly).