commit cee4220faa4c17632e25064ff5a8faa545360fe9
parent 25cd084aca0e57a0a330c422da73a2cd8d1fbe95
Author: Tomas Hlavaty <tom@logand.com>
Date: Fri, 29 May 2020 23:48:49 +0200
work with files without extension
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/emacs-framebuffer.el b/emacs-framebuffer.el
@@ -189,7 +189,7 @@
(and (not (file-directory-p f))
(string-match
"jpe?g\\|JPE?G\\|png\\|PNG\\|bmp\\|BMP\\|gif\\|GIF\\|tiff?\\|TIFF?\\|ppm\\|PPM\\|pnm\\|PNM\\|xpm\\|XPM"
- (file-name-extension f)))))
+ (or (file-name-extension f) "")))))
(defun framebuffer-image-file-dired-next (arg)
(interactive "^p")