Added pjb-ansi-colorize-buffer.

Pascal J. Bourguignon [2021-07-06 19:56]
Added pjb-ansi-colorize-buffer.
Filename
pjb-emacs.el
diff --git a/pjb-emacs.el b/pjb-emacs.el
index ebd6909..bac6d9a 100644
--- a/pjb-emacs.el
+++ b/pjb-emacs.el
@@ -730,7 +730,9 @@ with possible additional arguments `browse-url-xterm-args'."
     (message "Done.")))


-
+(defun pjb-ansi-colorize-buffer ()
+  (interactive)
+  (ansi-color-apply-on-region (point-min) (point-max)))

 (defvar pjb-listing-light "LightBlue"
   "Background color of light listing area.") ;;pjb-listing-light
ViewGit