From 26cf2162054d4d8ed8cc1a35ae0d429d3b99d35a Mon Sep 17 00:00:00 2001 From: Steve Youngs Date: Fri, 29 Jun 2012 19:34:50 +1000 Subject: [PATCH] Tweak eshell setting to display ansi colour properly * 11-pkgs-sy.el: Add #'eshell-handle-ansi-color to the eshell-output-filter-functions hook. Signed-off-by: Steve Youngs --- 11-pkgs-sy.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/11-pkgs-sy.el b/11-pkgs-sy.el index 08e0e27..b009153 100644 --- a/11-pkgs-sy.el +++ b/11-pkgs-sy.el @@ -5,7 +5,7 @@ ;; Author: Steve Youngs ;; Maintainer: Steve Youngs ;; Created: <2007-12-02> -;; Time-stamp: +;; Time-stamp: ;; Download: ;; HTMLised: ;; Git Repo: git clone http://git.sxemacs.org/syinit @@ -395,8 +395,9 @@ (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. -- 2.25.1