diff options
| author | Mathias Dahl | 2006-07-24 09:40:09 +0000 |
|---|---|---|
| committer | Mathias Dahl | 2006-07-24 09:40:09 +0000 |
| commit | 5bf9fc454e96beffc198272f811507345ef70f49 (patch) | |
| tree | 7ce993d890d08be2e7f78b4d449cc39f5763a9a0 | |
| parent | ec59c1ea344344aebec418198cbae70e5ddb672c (diff) | |
| download | emacs-5bf9fc454e96beffc198272f811507345ef70f49.tar.gz emacs-5bf9fc454e96beffc198272f811507345ef70f49.zip | |
Add extra check for end of buffer.
| -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'." | |||
| 1659 | (insert "\n") | 1659 | (insert "\n") |
| 1660 | (insert " ") | 1660 | (insert " ") |
| 1661 | (setq count (1+ count)) | 1661 | (setq count (1+ count)) |
| 1662 | (when (= count (- tumme-thumbs-per-row 1)) | 1662 | (when (and (= count (- tumme-thumbs-per-row 1)) |
| 1663 | (not (eobp))) | ||
| 1663 | (forward-char) | 1664 | (forward-char) |
| 1664 | (insert "\n") | 1665 | (insert "\n") |
| 1665 | (setq count 0))))) | 1666 | (setq count 0))))) |