emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tumme does not show image buffer


From: Mathias Dahl
Subject: Re: tumme does not show image buffer
Date: Fri, 21 Jul 2006 14:34:54 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)

Mathias Dahl <address@hidden> writes:

I have tried to debug this without any luck. My current theory is that
for some reason the last `forward-char' is called when point is at the
end of the buffer. See if the following change in `tumme-line-up'
fixes the problem for you:

*** 20,26 ****
              (insert "\n")
            (insert " ")
            (setq count (1+ count))
!           (when (= count (- tumme-thumbs-per-row 1))
              (forward-char)
              (insert "\n")
              (setq count 0)))))
--- 20,27 ----
              (insert "\n")
            (insert " ")
            (setq count (1+ count))
!           (when (and (= count (- tumme-thumbs-per-row 1))
!                      (not (eobp)))
              (forward-char)
              (insert "\n")
              (setq count 0)))))

/Mathias





reply via email to

[Prev in Thread] Current Thread [Next in Thread]