Function: image-mode-mark-file
image-mode-mark-file is an interactive and byte-compiled function
defined in image-mode.el.gz.
Signature
(image-mode-mark-file)
Documentation
Mark the current file in the appropriate Dired buffer(s).
Any Dired buffer that's opened to the current file's directory will have the line where the image appears (if any) marked.
If no such buffer exists, it will be opened.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/image-mode.el.gz
(defun image-mode-mark-file ()
"Mark the current file in the appropriate Dired buffer(s).
Any Dired buffer that's opened to the current file's directory
will have the line where the image appears (if any) marked.
If no such buffer exists, it will be opened."
(interactive nil image-mode)
(unless buffer-file-name
(error "Current buffer is not visiting a file"))
(image-mode--mark-file buffer-file-name #'dired-mark "marked"))