Subject: bug#16196: 24.3.50; Disable ding when scrolling

From: Stefan Kangas <[email-masked]>
Date: Mon, 30 Sep 2019 15:26:20 +0200

Stefan Kangas <[email-masked]> writes:

>  Please find attached an updated patch

No comments in over a month.  Any objections to applying this patch?

Besides indentation changes, this comes down to adding a new variable
saw-error and:

(condition-case nil
   ...
  ;; Do not ding at buffer limits.  Show a message instead.
  (beginning-of-buffer (message "Beginning of buffer")
                       (setq saw-error t))
  (end-of-buffer (message "End of buffer")
                 (setq saw-error t)))

Best regards,
Stefan Kangas