diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2009-12-05 21:05:51 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2009-12-05 21:05:51 +0000 |
commit | 925f8c706646b93de86d50c8f9b283da423c20a0 (patch) | |
tree | 9fc879003fa163a71a177813752c55657c5a73b5 /lisp/shell.el | |
parent | 503edac9d6283c9bea492000369605e948af1fe7 (diff) | |
download | emacs-925f8c706646b93de86d50c8f9b283da423c20a0.tar.gz emacs-925f8c706646b93de86d50c8f9b283da423c20a0.tar.bz2 emacs-925f8c706646b93de86d50c8f9b283da423c20a0.zip |
* shell.el (shell): Require ansi-color (Bug#5113).
* ansi-color.el (ansi-color-for-comint-mode): Default to t.
Diffstat (limited to 'lisp/shell.el')
-rw-r--r-- | lisp/shell.el | 1 |
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). |