aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/thumbs.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/thumbs.el b/lisp/thumbs.el
index df37e50c99c..a33d30ae58e 100644
--- a/lisp/thumbs.el
+++ b/lisp/thumbs.el
@@ -498,10 +498,11 @@ Open another window."
498 (let (list) 498 (let (list)
499 (goto-char (point-min)) 499 (goto-char (point-min))
500 (while (not (eobp)) 500 (while (not (eobp))
501 (if (thumbs-current-image) 501 (unless (= 0 (mod (point) (1+ thumbs-per-line)))
502 (push (cons (point-marker) 502 (if (thumbs-current-image)
503 (thumbs-current-image)) 503 (push (cons (point-marker)
504 list)) 504 (thumbs-current-image))
505 list)))
505 (forward-char 1)) 506 (forward-char 1))
506 (nreverse list))))) 507 (nreverse list)))))
507 508