Function: image-previous-file
image-previous-file is an interactive and byte-compiled function
defined in image-mode.el.gz.
Signature
(image-previous-file &optional N)
Documentation
Visit the preceding image in the same directory as the current file.
With optional argument N, visit the Nth image file preceding the current one, in cyclic alphabetical order.
This command visits the specified file via find-alternate-file,
replacing the current Image mode buffer.
Probably introduced at or before Emacs version 24.4.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/image-mode.el.gz
(defun image-previous-file (&optional n)
"Visit the preceding image in the same directory as the current file.
With optional argument N, visit the Nth image file preceding the
current one, in cyclic alphabetical order.
This command visits the specified file via `find-alternate-file',
replacing the current Image mode buffer."
(interactive "p")
(image-next-file (- n)))