[Top][All Lists]

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

Re: Redisplay: NS port, high CPU load

From: David Reitter
Subject: Re: Redisplay: NS port, high CPU load
Date: Thu, 9 Jun 2016 06:12:39 +1000

On Jun 9, 2016, at 5:55 AM, Alan Third <address@hidden> wrote:

> Does the Aquamacs toolbar use different images or something, or is it
> identical to the GNU Emacs one?

No it uses different images and provides a different set of commands.

The offending item seems to be revert-buffer.  Indeed, if in disabled state, 
updates go on and on.  As soon as you modify the buffer, it’s enabled, and 
updates stop.  Here’s the entry from tool-bar-map:

(revert-buffer menu-item "Revert Buffer" revert-buffer :enable
                  (eq revert-buffer-function 'revert-buffer--default))
                  (eq revert-buffer-insert-file-contents-function 
                 (and buffer-file-number
                       (and buffer-file-name
                            (file-remote-p buffer-file-name))
                :help "Re-read current buffer from its file" :image
                (image :type png :file 
 :background "grey" :mask heuristic)
                :label "Revert")

reply via email to

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