From f01afb0bc31c36c9a55ad5f7148e090c5a7e2cb6 Mon Sep 17 00:00:00 2001 From: MitchMarq42 Date: Sun, 20 Nov 2022 16:48:47 -0900 Subject: [PATCH] Clean up eshell-catimg comments and doc --- lisp/mitch-packages.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/mitch-packages.el b/lisp/mitch-packages.el index 9a8c9e2..59f72b0 100644 --- a/lisp/mitch-packages.el +++ b/lisp/mitch-packages.el @@ -176,7 +176,6 @@ This is taken from a website that I can't remember at the moment." :hook (eshell-mode . eshell-syntax-highlighting-mode) :config ;; Make cat with syntax highlight. - ;; (defun aweshell-cat-with-syntax-highlight (filename) (defun aweshell-cat-with-syntax-highlight (filename) "Like cat(1) but with syntax highlighting. @@ -233,7 +232,9 @@ Taken from https://emacs.stackexchange.com/questions/3432/display-images-in-eshe Also, can cat images for some reason. -Taken from https://emacs.stackexchange.com/questions/3432/display-images-in-eshell-with-iimage-mode " +See: +https://github.com/manateelazycat/aweshell/blob/d246df619573ca3f46070cc0ac82d024271ed243/aweshell.el#L775 +https://emacs.stackexchange.com/questions/3432/display-images-in-eshell-with-iimage-mode " (setq args (eshell-stringify-list (flatten-tree args))) (dolist (file args) (if (string= file "-")