Skip to content

Commit

Permalink
Eshell: Fix slow coloured output
Browse files Browse the repository at this point in the history
  • Loading branch information
Ambrevar committed Jan 5, 2018
1 parent fd2a66d commit 7e8dcd4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .emacs.d/lisp/patch-eshell.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 7e8dcd4

Please sign in to comment.