From 38452395710cdb219e7f196bbeedfc2b8054616c Mon Sep 17 00:00:00 2001 From: ueno Date: Mon, 30 Aug 2004 05:02:55 +0000 Subject: [PATCH] Add comment. --- lisp/riece-misc.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/riece-misc.el b/lisp/riece-misc.el index d3e1936..2ab9f07 100644 --- a/lisp/riece-misc.el +++ b/lisp/riece-misc.el @@ -77,10 +77,11 @@ (setq point (point)) (if (and (not (riece-frozen (current-buffer))) (setq window (get-buffer-window (current-buffer)))) - (save-excursion + (save-excursion ;save-selected-window changes + ;current buffer (save-selected-window (select-window window) - (goto-char point) + (goto-char point) ;select-window changes current point (recenter -2)))) (run-hook-with-args 'riece-after-insert-functions start (point)))) (setq buffers (cdr buffers)))) -- 1.7.10.4