org-download

a fork of abo-abo's org-download
git clone https://git.trogloxene.org/org-download.git
Log | Files | Refs | README

commit 5f7412382d3f7d72e11884c24bb790b6b559b35e
parent 5e52fc4a7e5389f7ad9bf8c37f5663c39c8834fc
Author: archiif <60074051+archiif@users.noreply.github.com>
Date:   Mon, 25 Apr 2022 08:49:23 +0700

org-download.el (org-download-clipboard): Correct ImageMagick's executable name on Windows

On default installations of ImageMagick on Windows, executables such as `convert.exe` are considered a legacy feature (perhaps due to name collisions with system programs) and as such are not included unless the user asks for it during the installation. Instead, these utilities are treated as subcommands that can be accessed through `magick.exe`.
Diffstat:
Morg-download.el | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/org-download.el b/org-download.el @@ -409,10 +409,10 @@ The screenshot tool is determined by `org-download-screenshot-method'." (user-error "Please install the \"xclip\" program")))) ((windows-nt cygwin) - (if (executable-find "convert") - "convert clipboard: %s" + (if (executable-find "magick") + "magick convert clipboard: %s" (user-error - "Please install the \"convert\" program included in ImageMagick"))) + "Please install the \"magick\" program included in ImageMagick"))) ((darwin berkeley-unix) (if (executable-find "pngpaste") "pngpaste %s"