]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/image-dired.el (image-dired-external-viewer): Support feh.
authorStefan Kangas <stefan@marxist.se>
Sun, 24 Oct 2021 10:20:35 +0000 (12:20 +0200)
committerStefan Kangas <stefan@marxist.se>
Sun, 24 Oct 2021 10:21:13 +0000 (12:21 +0200)
lisp/image-dired.el

index 4e6a410c1141dc73528a454754a5860a83b74135..2af0c6654ec9c59c2a6f3e77a50bf723a9143f54 100644 (file)
@@ -504,11 +504,12 @@ with the comment."
   ;; dired-view-command-alist.
   (cond ((executable-find "display"))
         ((executable-find "xli"))
-        ((executable-find "qiv") "qiv -t"))
+        ((executable-find "qiv") "qiv -t")
+        ((executable-find "feh") "feh"))
   "Name of external viewer.
 Including parameters.  Used when displaying original image from
 `image-dired-thumbnail-mode'."
-  :version "27.1"
+  :version "28.1"
   :type '(choice string
                  (const :tag "Not Set" nil)))