Function: image-dired-thumb-update-marks

image-dired-thumb-update-marks is a byte-compiled function defined in image-dired.el.gz.

Signature

(image-dired-thumb-update-marks)

Documentation

Update the marks in the thumbnail buffer.

Source Code

;; Defined in /usr/src/emacs/lisp/image-dired.el.gz
(defun image-dired-thumb-update-marks ()
  "Update the marks in the thumbnail buffer."
  (when image-dired-thumb-visible-marks
    (with-current-buffer image-dired-thumbnail-buffer
      (save-mark-and-excursion
        (goto-char (point-min))
        (let ((inhibit-read-only t))
          (while (not (eobp))
            (with-silent-modifications
              (if (image-dired-thumb-file-marked-p)
                  (add-face-text-property (point) (1+ (point))
                                          'image-dired-thumb-mark)
                (remove-text-properties (point) (1+ (point))
                                        '(face image-dired-thumb-mark))))
            (forward-char)))))))