diff options
-rw-r--r-- | lisp/tumme.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/tumme.el b/lisp/tumme.el index 8a443bc81c7..f2a5613d833 100644 --- a/lisp/tumme.el +++ b/lisp/tumme.el @@ -1659,7 +1659,8 @@ See also `tumme-line-up-dynamic'." (insert "\n") (insert " ") (setq count (1+ count)) - (when (= count (- tumme-thumbs-per-row 1)) + (when (and (= count (- tumme-thumbs-per-row 1)) + (not (eobp))) (forward-char) (insert "\n") (setq count 0))))) |