[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master e276810: * lisp/thumbs.el (thumbs-conversion-program): Simplify.
From: |
Glenn Morris |
Subject: |
master e276810: * lisp/thumbs.el (thumbs-conversion-program): Simplify. |
Date: |
Sun, 21 Mar 2021 12:16:07 -0400 (EDT) |
branch: master
commit e276810dff9838e1bb8c2ec450f85835ed60bf14
Author: Glenn Morris <rgm@gnu.org>
Commit: Glenn Morris <rgm@gnu.org>
* 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.
---
lisp/thumbs.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lisp/thumbs.el b/lisp/thumbs.el
index e43d13d..3e7c912 100644
--- a/lisp/thumbs.el
+++ b/lisp/thumbs.el
@@ -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")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master e276810: * lisp/thumbs.el (thumbs-conversion-program): Simplify.,
Glenn Morris <=