* ansi-color.el (ansi-color-for-comint-mode): Default to t.
2009-12-05 Chong Yidong <cyd@stupidchicken.com>
+ * shell.el (shell): Require ansi-color (Bug#5113).
+
+ * ansi-color.el (ansi-color-for-comint-mode): Default to t.
+
* hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
2009-12-05 Alan Mackenzie <acm@muc.de>
;; Convenience functions for comint modes (eg. shell-mode)
-(defcustom ansi-color-for-comint-mode nil
+(defcustom ansi-color-for-comint-mode t
"Determines what to do with comint output.
If nil, do nothing.
If the symbol `filter', then filter all SGR control sequences.
(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).