diff options
author | Tino Calancha <tino.calancha@gmail.com> | 2016-09-13 04:28:42 +0900 |
---|---|---|
committer | Tino Calancha <tino.calancha@gmail.com> | 2016-09-13 04:28:42 +0900 |
commit | 5d7433aba3893d9d5849b33b909dacc778ecd023 (patch) | |
tree | c29836ad8f14b5ff021203202d8f13b69ba99865 /lib-src | |
parent | 2675c79db5745d55d43b78019b1e6a4f84b168fa (diff) | |
download | emacs-5d7433aba3893d9d5849b33b909dacc778ecd023.tar.gz emacs-5d7433aba3893d9d5849b33b909dacc778ecd023.tar.bz2 emacs-5d7433aba3893d9d5849b33b909dacc778ecd023.zip |
image-dired: Signal an error before calling a missing executable
Reverts commit ca473907
Add a defun to check if an executable exists, and call it
on each function using an external program: when the executable
is not available signal an error.
See discussion on:
https://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00135.html
* lisp/image-dired.el (image-dired--check-executable-exists): New defun.
Throw and error when the executable arg is missing.
(image-dired-display-image, image-dired-rotate-thumbnail)
(image-dired-rotate-original, image-dired-set-exif-data)
(image-dired-get-exif-data):
Use it.
Diffstat (limited to 'lib-src')
0 files changed, 0 insertions, 0 deletions