* 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:
parent
574eadbdaf
commit
e276810dff
1 changed files with 4 additions and 3 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue