diff --git a/ChangeLog b/ChangeLog index 1624c852..6cc59366 100644 --- a/ChangeLog +++ b/ChangeLog @@ -63,6 +63,12 @@ (twittering-generate-formater-for-first-spec): add a new specifier "%FOLD[prefix]{...}". + * twittering-mode.el: Fix unintended cursor motion caused by + automatic redisplaying. + (twittering-redisplay-status-on-each-buffer): fix the incorrect + cursor motion occurring when it points the beginning of region + that will be be modified. + 2010-05-27 Tadashi MATSUO * twittering-mode.el (twittering-toggle-activate-buffer): restart diff --git a/twittering-mode.el b/twittering-mode.el index f24e2843..8bd9296e 100644 --- a/twittering-mode.el +++ b/twittering-mode.el @@ -4547,7 +4547,7 @@ If INTERRUPT is non-nil, the iteration is stopped if FUNC returns nil." (setq result beg)) (delete-region beg end) (goto-char beg) - (insert-before-markers updated-str) + (insert updated-str) (twittering-restore-window-config-after-modification config beg end)))) buffer))