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

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

bug#16196: 24.3.50; Disable ding when scrolling


From: Robert Pluim
Subject: bug#16196: 24.3.50; Disable ding when scrolling
Date: Mon, 30 Sep 2019 16:03:19 +0200

>>>>> On Mon, 30 Sep 2019 15:26:20 +0200, Stefan Kangas <stefan@marxist.se> 
>>>>> said:

    Stefan> Stefan Kangas <stefan@marxist.se> writes:
    >> Please find attached an updated patch

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

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

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

How about using

(error-message-string '(beginning-of-buffer nil))

so that the error string remains in sync with src/data.c?

Robert





reply via email to

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