Is there a particular reason why slime-repl-clear-buffer calls `recenter'? Can it do so without redrawing the whole frame (which is quite annoying)?
If the answers are "no" and "yes", I'd like to suggest the patch below.
*** slime-repl.el 07 Jan 2009 04:21:44 -0500 1.11 --- slime-repl.el 12 Jan 2009 16:13:00 -0500 *************** *** 813,819 **** (delete-region (point-min) slime-repl-prompt-start-mark) (delete-region slime-output-start slime-output-end) (goto-char slime-repl-input-start-mark) ! (recenter)) (run-hooks 'slime-repl-clear-buffer-hook))
(defun slime-repl-clear-output () --- 813,819 ---- (delete-region (point-min) slime-repl-prompt-start-mark) (delete-region slime-output-start slime-output-end) (goto-char slime-repl-input-start-mark) ! (recenter t)) (run-hooks 'slime-repl-clear-buffer-hook))
(defun slime-repl-clear-output ()