emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A few issues with thumbs.el


From: Juanma Barranquero
Subject: Re: A few issues with thumbs.el
Date: Thu, 26 May 2005 02:48:09 +0200

Another issue I forgot:

On Windows, thumbs-conversion-program is initialized to "convert.exe".
Trouble is, there's already a convert.exe on the path, on %windir%.

I thought about using (on the windows part) something like

 (let ((exe (executable-find "convert.exe")))
         (and exe
              (string-match "ImageMagick"
                            (shell-command-to-string (concat exe " -version")))
              exe))

Is that appropriate for a defcustom initialization, or it is way too
much work and should be left to the user?

-- 
                    /L/e/k/t/u




reply via email to

[Prev in Thread] Current Thread [Next in Thread]