From 7e8dcd433a932c2e5793721d8be9fd5fde63a61b Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Fri, 5 Jan 2018 20:57:58 +0100 Subject: [PATCH] Eshell: Fix slow coloured output --- .emacs.d/lisp/patch-eshell.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.emacs.d/lisp/patch-eshell.el b/.emacs.d/lisp/patch-eshell.el index 813a0eae..398e3bad 100644 --- a/.emacs.d/lisp/patch-eshell.el +++ b/.emacs.d/lisp/patch-eshell.el @@ -207,4 +207,11 @@ See `eshell-prompt-regexp'." (define-key eshell-command-map [(control ?l)] 'eshell-list-history) (define-key eshell-command-map [(control ?x)] 'eshell-get-next-from-history))) +;;; Fix 29854, expected in Emacs 26.1? +(setq + ansi-color-apply-face-function + (lambda (beg end face) + (when face + (put-text-property beg end 'face face)))) + (provide 'patch-eshell)