diff lisp/shell.el @ 106439:f2a95599cf8c

* shell.el (shell): Require ansi-color (Bug#5113). * ansi-color.el (ansi-color-for-comint-mode): Default to t.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 05 Dec 2009 21:05:51 +0000
parents 26baacb565b0
children 1d1d5d9bd884
line wrap: on
line diff
--- a/lisp/shell.el	Sat Dec 05 20:56:42 2009 +0000
+++ b/lisp/shell.el	Sat Dec 05 21:05:51 2009 +0000
@@ -554,6 +554,7 @@
 		      (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).