Eshell: Fix slow coloured output

master
Pierre Neidhardt 2018-01-05 20:57:58 +01:00
parent fd2a66dcbf
commit 7e8dcd433a
1 changed files with 7 additions and 0 deletions

View File

@ -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)