From: ueno Date: Sun, 9 Nov 2003 13:40:17 +0000 (+0000) Subject: Undo the last change. X-Git-Tag: riece-0_1_6~3 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=69d53db7220f1525beec122d01a4f96ed9f805ae;p=elisp%2Friece.git Undo the last change. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e2327b7..20a8308 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,8 +1,5 @@ 2003-11-08 Daiki Ueno - * riece-layout.el (riece-set-window-points): Check whether the end - of buffer is visible. - * riece-ctcp.el (riece-command-ctcp-action): Display channel names in "*Others*" buffer. diff --git a/lisp/riece-layout.el b/lisp/riece-layout.el index 5fe234a..e1c6908 100644 --- a/lisp/riece-layout.el +++ b/lisp/riece-layout.el @@ -87,23 +87,17 @@ happen unconditionally." (if (and riece-channel-buffer (get-buffer-window riece-channel-buffer)) (with-current-buffer riece-channel-buffer - (unless (or (riece-frozen riece-channel-buffer) - (pos-visible-in-window-p - (point-max) (get-buffer-window riece-channel-buffer))) + (unless (riece-frozen 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 (or (riece-frozen riece-others-buffer) - (pos-visible-in-window-p - (point-max) (get-buffer-window riece-others-buffer))) + (unless (riece-frozen 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 (or (riece-frozen riece-dialogue-buffer) - (pos-visible-in-window-p - (point-max) (get-buffer-window riece-dialogue-buffer))) + (unless (riece-frozen riece-dialogue-buffer) (set-window-point (get-buffer-window riece-dialogue-buffer) (point-max))))))