From: Eli Zaretskii Date: Sun, 2 Jun 2024 11:14:10 +0000 (+0300) Subject: ; Improve diagnostics in Image Dired X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a512287667e92ed38ef12c17caa0dd44bc6cdc0d;p=emacs.git ; Improve diagnostics in Image Dired * lisp/image/image-dired-external.el (image-dired--check-executable-exists): Improve diagnostics. (cherry picked from commit 4303e5c9fa37368b50677f21aba977758f100e3c) --- diff --git a/lisp/image/image-dired-external.el b/lisp/image/image-dired-external.el index da272c146c9..5a9fc504370 100644 --- a/lisp/image/image-dired-external.el +++ b/lisp/image/image-dired-external.el @@ -240,7 +240,8 @@ function, consider that function to be an alternative to running EXECUTABLE." (or (and (executable-find cmd) (image-dired--probe-thumbnail-cmd cmd)) (and func (fboundp func) 'function) - (error "Executable %S not found or not pertinent" executable)))) + (error "Executable named by `%S' (%s) not found or not pertinent" + executable (symbol-value executable))))) ;;; Creating thumbnails