]> git.eshelyaron.com Git - emacs.git/commit
image-dired: Cleanup of four commands
authorStefan Kangas <stefan@marxist.se>
Wed, 3 Nov 2021 06:02:13 +0000 (07:02 +0100)
committerStefan Kangas <stefan@marxist.se>
Wed, 3 Nov 2021 06:02:13 +0000 (07:02 +0100)
commit73c3d622a82b3bd1b5230ffa998b752bbf053e80
tree34429c38f8b740176f95a852684fb62faf75aa3c
parent16b46b9ee230cb4c521d6d32ce006c35bd1056af
image-dired: Cleanup of four commands

* lisp/image-dired.el
(image-dired--on-file-in-dired-buffer): New macro.
(image-dired-mark-thumb-original-file)
(image-dired-unmark-thumb-original-file)
(image-dired-flag-thumb-original-file)
(image-dired-toggle-mark-thumb-original-file): Rewrite using
above new macro.
(image-dired-modify-mark-on-thumb-original-file): Make obsolete in
favor of above new macro.
lisp/image-dired.el