ansi-color-for-comint-mode-on
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 22 Feb 2015 18:55:54 +0200
changeset 1219 68542ca74092
parent 1218 53eaec665fcf
child 1220 90e3a3721051
ansi-color-for-comint-mode-on
.emacs-obsolete
--- a/.emacs-obsolete	Tue Feb 24 02:20:15 2015 +0200
+++ b/.emacs-obsolete	Sun Feb 22 18:55:54 2015 +0200
@@ -59,3 +59,9 @@
 
 (my-add-subdirs-to-load-path my-usr-lisp-dir)
 (my-add-subdirs-to-load-path my-lisp-dir)
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+(add-hook 'comint-output-filter-functions 'comint-strip-ctrl-m)
+(add-hook 'comint-mode-hook 'ansi-color-for-comint-mode-on)
+