emacs-framebuffer

Emacs library to show images and documents in console using Linux framebuffer
Log | Files | Refs

commit 025d27ca3478fdbe810cb80254ca6bb7825f3d14
parent 0d7590672ea39c771afd7e74818fc2788c20630d
Author: Tomas Hlavaty <tom@logand.com>
Date:   Fri,  5 Jan 2024 19:42:23 +0100

case insensitive extension

Diffstat:
Memacs-framebuffer.el | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/emacs-framebuffer.el b/emacs-framebuffer.el @@ -682,8 +682,8 @@ (let* ((filename (dired-file-name-at-point)) (x (file-name-extension filename))) (cond - ((member x '("pdf")) (framebuffer-fbpdf filename)) - ((member x '("mkv" "mp4" "ogg" "webm")) (framebuffer-fbmpv filename))))) + ((member x '("pdf" "PDF")) (framebuffer-fbpdf filename)) + ((member x '("mkv" "MKV" "mp4" "MP4" "ogg" "OGG" "webm" "WEBM")) (framebuffer-fbmpv filename))))) (add-hook 'framebuffer-image-mode-hook