;; Author: Steve Youngs <steve@sxemacs.org>
;; Maintainer: Steve Youngs <steve@sxemacs.org>
;; Created: <2007-12-02>
-;; Time-stamp: <Friday Jun 29, 2012 16:36:51 steve>
+;; Time-stamp: <Friday Jun 29, 2012 19:25:52 steve>
;; Download: <http://bastard.steveyoungs.com/~steve/SXEmacs/inits/>
;; HTMLised: <http://bastard.steveyoungs.com/~steve/SXEmacs/htmlinits/11-pkgs-sy.html>
;; Git Repo: git clone http://git.sxemacs.org/syinit
(defun sy-eshell-bol-maybe-key ()
(define-key eshell-mode-map [(control ?a)] 'sy-eshell-bol-maybe))
-(add-hook 'eshell-mode-hook 'sy-eshell-bol-maybe)
-(add-hook 'eshell-mode-hook 'sy-eshell-bol-maybe-key t)
+(add-hook 'eshell-mode-hook #'sy-eshell-bol-maybe)
+(add-hook 'eshell-mode-hook #'sy-eshell-bol-maybe-key t)
+(add-hook 'eshell-output-filter-functions #'eshell-handle-ansi-color)
(defun sy-esh-cdl (&optional type)
"Eshell function to find current kernel's build or source dir.