Function: image-mode-unmark-file

image-mode-unmark-file is an interactive and byte-compiled function defined in image-mode.el.gz.

Signature

(image-mode-unmark-file)

Documentation

Unmark the current file in the appropriate Dired buffer(s).

Any Dired buffer that's opened to the current file's directory will remove the mark from the line where the image appears (if any).

If no such buffer exists, it will be opened.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/image-mode.el.gz
(defun image-mode-unmark-file ()
  "Unmark the current file in the appropriate Dired buffer(s).
Any Dired buffer that's opened to the current file's directory
will remove the mark from the line where the image appears (if
any).

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-unmark "unmarked"))