Add comment.
authorueno <ueno>
Mon, 30 Aug 2004 05:02:55 +0000 (05:02 +0000)
committerueno <ueno>
Mon, 30 Aug 2004 05:02:55 +0000 (05:02 +0000)
lisp/riece-misc.el

index d3e1936..2ab9f07 100644 (file)
        (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))))