Skip to content

Commit

Permalink
Stop automatic redisplaying of buffers in which the mark is active.
Browse files Browse the repository at this point in the history
* twittering-mode.el: Stop automatic redisplaying of buffers in
which the mark and region are active.
(twittering-redisplay-status-on-buffer): do not update buffer
in which the mark and region are active.
  • Loading branch information
cvmat committed Jun 2, 2010
1 parent aba8f98 commit f228309
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Expand Up @@ -24,6 +24,11 @@
(twittering-make-icon-string): give different strings for
displayed and undisplayed icon.

* twittering-mode.el: Stop automatic redisplaying of buffers in
which the mark and region are active.
(twittering-redisplay-status-on-buffer): do not update buffer
in which the mark and region are active.

2010-05-27 Tadashi MATSUO <tad@mymail.twin.jp>

* twittering-mode.el (twittering-toggle-activate-buffer): restart
Expand Down
4 changes: 3 additions & 1 deletion twittering-mode.el
Expand Up @@ -4497,7 +4497,9 @@ If INTERRUPT is non-nil, the iteration is stopped if FUNC returns nil."
;;;

(defun twittering-redisplay-status-on-buffer ()
(mapc 'twittering-redisplay-status-on-each-buffer
(mapc (lambda (buffer)
(unless (with-current-buffer buffer mark-active)
(twittering-redisplay-status-on-each-buffer buffer)))
(twittering-get-buffer-list)))

(defun twittering-redisplay-status-on-each-buffer (buffer)
Expand Down

0 comments on commit f228309

Please sign in to comment.