From: ueno Date: Mon, 30 Aug 2004 02:00:40 +0000 (+0000) Subject: Undo the last change. X-Git-Tag: riece-1_0_3~10 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=0030ca2ea181ca635101868572f68b883f8e7aa3;p=elisp%2Friece.git Undo the last change. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 103937b..29c1be8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,7 +1,5 @@ 2004-08-30 Daiki Ueno - * riece-layout.el (riece-set-window-points): Use (recenter -1) to - set window point instead of doing so manually. * riece-misc.el (riece-insert): Use (recenter -1) to set window point instead of doing so manually. diff --git a/lisp/riece-layout.el b/lisp/riece-layout.el index 5970983..ca463dc 100644 --- a/lisp/riece-layout.el +++ b/lisp/riece-layout.el @@ -91,15 +91,18 @@ happen unconditionally." (if riece-channel-buffer-window-point (set-window-point (get-buffer-window riece-channel-buffer) riece-channel-buffer-window-point)) - (recenter -1 (get-buffer-window riece-channel-buffer))))) + (set-window-point (get-buffer-window riece-channel-buffer) + (point-max))))) (if (get-buffer-window riece-others-buffer) (with-current-buffer riece-others-buffer (unless (riece-frozen riece-others-buffer) - (recenter -1 (get-buffer-window riece-others-buffer))))) + (set-window-point (get-buffer-window riece-others-buffer) + (point-max))))) (if (get-buffer-window riece-dialogue-buffer) (with-current-buffer riece-dialogue-buffer (unless (riece-frozen riece-dialogue-buffer) - (recenter -1 (get-buffer-window riece-dialogue-buffer)))))) + (set-window-point (get-buffer-window riece-dialogue-buffer) + (point-max)))))) (defun riece-reconfigure-windows-predicate () "Return t, if window reconfiguration is needed.