]> git.eshelyaron.com Git - emacs.git/commit
image-dired: Report when a necessary executable is not found
authorTino Calancha <tino.calancha@gmail.com>
Sun, 4 Sep 2016 13:41:12 +0000 (22:41 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Sun, 4 Sep 2016 13:41:12 +0000 (22:41 +0900)
commitca47390727c55a40a54d0dea3b15bd094ea9cde2
tree60ed6add266767136393431ee810c685acb0f67e
parent2db3307e8a966a8f652a210d8f8eb83daddd7d9f
image-dired: Report when a necessary executable is not found

See discussion on:
https://lists.gnu.org/archive/html/emacs-devel/2016-08/msg00552.html
* lisp/image-dired.el (image-dired-cmd-rotate-original-program)
(image-dired-cmd-create-thumbnail-program)
(image-dired-cmd-create-temp-image-program)
(image-dired-cmd-rotate-thumbnail-program)
(image-dired-cmd-write-exif-data-program)
(image-dired-cmd-read-exif-data-program):
Use executable-find to set the defaut value of this option.
(image-dired-cmd-rotate-original-program): Idem.
Search for program 'convert' if 'jpegtran' is not available.
(image-dired-cmd-rotate-original-options):
Set the default value consistent with the executable in
image-dired-cmd-rotate-original-program.
(image-dired-create-thumb, image-dired-display-image)
(image-dired-rotate-thumbnail, image-dired-rotate-original)
(image-dired-set-exif-data, image-dired-get-exif-data):
Throw and error when the executable used in the function is missing.
(image-dired-next-line, image-dired-previous-line):
Use 'forward-line'.
lisp/image-dired.el