• Noam Postavsky's avatar
    Avoid slow overlay ansi coloring in eshell (Bug#29854) · 4fd9048e
    Noam Postavsky authored
    * lisp/ansi-color.el (ansi-color-apply-on-region): Reset temporary
    markers after finishing with them.
    (ansi-color-apply-text-property-face): New function.
    * lisp/eshell/esh-mode.el (eshell-handle-ansi-color):
    * lisp/man.el (Man-fontify-manpage): Use it as the
    `ansi-color-apply-face-function' while calling
    `ansi-color-apply-on-region'.  Use `font-lock-face' to propertize
    instead of `face'.
    4fd9048e
ansi-color.el 24.9 KB