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.

It's expected, that a thumbnail is always followed by exactly one space or one newline character.

Aliases

image-dired-thumb-update-marks (obsolete since 29.1)

Source Code

;; Defined in /usr/src/emacs/lisp/image/image-dired.el.gz
(defun image-dired--thumb-update-marks ()
  "Update the marks in the thumbnail buffer.
It's expected, that a thumbnail is always followed
by exactly one space or one newline character."
  (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))
            (image-dired--thumb-update-mark-at-point)
            (forward-char 2)))))))