diff options
author | Mathias Dahl <mathias.dahl@gmail.com> | 2006-07-24 09:40:09 +0000 |
---|---|---|
committer | Mathias Dahl <mathias.dahl@gmail.com> | 2006-07-24 09:40:09 +0000 |
commit | 5bf9fc454e96beffc198272f811507345ef70f49 (patch) | |
tree | 7ce993d890d08be2e7f78b4d449cc39f5763a9a0 | |
parent | ec59c1ea344344aebec418198cbae70e5ddb672c (diff) | |
download | emacs-5bf9fc454e96beffc198272f811507345ef70f49.tar.gz |
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'." (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))))) |