From: ueno Date: Mon, 30 Aug 2004 05:02:55 +0000 (+0000) Subject: Add comment. X-Git-Tag: riece-1_0_3~8 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=38452395710cdb219e7f196bbeedfc2b8054616c;p=elisp%2Friece.git Add comment. --- 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))))