* lisp/thumbs.el (thumbs-conversion-program): Simplify.

/usr/bin is (normally) always in PATH, and this need not be absolute,
so the executable-find is unnecesary.
This commit is contained in:
Glenn Morris 2021-03-21 09:15:51 -07:00
parent 574eadbdaf
commit e276810dff

View file

@ -93,11 +93,12 @@ When it reaches that size (in bytes), a warning is sent."
;; customize this value to the absolute filename.
(defcustom thumbs-conversion-program
(if (eq system-type 'windows-nt)
;; FIXME is this necessary, or can a sane PATHEXE be assumed?
;; Eg find-program does not do this.
"convert.exe"
(or (executable-find "convert")
"/usr/bin/convert"))
"convert")
"Name of conversion program for thumbnails generation.
It must be \"convert\"."
This must be the ImageMagick \"convert\" utility."
:type 'string
:version "28.1")