+2001-10-18 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * scroll-bar.el (scroll-bar-toolkit-scroll): Don't ring the bell
+ when we hit the beginning or the end of the buffer. Instead, just
+ print a message and do nothing.
+
2001-10-18 Stefan Monnier <monnier@cs.yale.edu>
* xml.el (xml-parse-tag): Use eq on char-after's return value.
((eq part 'up)
;; Avoid ringing the bell when at beginning of
;; buffer, since that causes redisplay to bitch
- ;; endlessly when visible-bell is in effect and
- ;; the toolkit sends us many scroll-bar clicks one
- ;; after the other.
+ ;; endlessly when visible-bell is in effect, for
+ ;; some reason.
(if (= 0 (save-excursion
(goto-char (window-start))
(forward-line -1)))
(message "Beginning of buffer")))
((eq part 'down)
;; Avoid ringing the bell if already at end of
- ;; buffer; see the commentary above for the
- ;; reasons.
+ ;; buffer.
(if (= 0 (save-excursion (forward-line 2)))
(scroll-up 1)
(message "End of buffer")))