commit 462562de59d67680828e53e8de3a046e8efa3a2d
parent 7847f11682c387a58f70243b173f33e294622ffb
Author: Tomas Hlavaty <tom@logand.com>
Date: Sun, 24 May 2020 17:44:37 +0200
support pnm
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/emacs-framebuffer.el b/emacs-framebuffer.el
@@ -157,7 +157,7 @@
(3 (setq h v)))))))
(when (and w h)
(cons w h))))))))
- (?P ;; ppm
+ (?P ;; ppm pnm
(case (framebuffer-next-u8 brook)
((?3 ?6)
(search-forward-regexp "^\\([0-9]+\\)+ \\([0-9]+\\)$")
@@ -185,7 +185,7 @@
(let ((f (dired-file-name-at-point)))
(and (not (file-directory-p f))
(string-match
- "jpe?g\\|JPE?G\\|png\\|PNG\\|bmp\\|BMP\\|gif\\|GIF\\|tiff?\\|TIFF?\\|ppm\\|PPM"
+ "jpe?g\\|JPE?G\\|png\\|PNG\\|bmp\\|BMP\\|gif\\|GIF\\|tiff?\\|TIFF?\\|ppm\\|PPM\\|pnm\\|PNM"
(file-name-extension f)))))
(defun framebuffer-image-file-dired-next (arg)