Hello,
C-c C-k takes the value of slime-display-compilation-output into account. I wanted the same to be true of C-M-x so I changed slime-eval-with-transcript:
(defun slime-eval-with-transcript ... ... (slime-eval-async form (lambda (value) (with-current-buffer (slime-output-buffer) => (when slime-display-compilation-output (slime-show-last-output)) (cond (fn (funcall fn value)) (t (message "%s" value))))))))
Is there a simpler way to get the same result?
Yoni Rabkin Katzenell yoni-r@actcom.com writes:
C-c C-k takes the value of slime-display-compilation-output into account. I wanted the same to be true of C-M-x so I changed slime-eval-with-transcript:
[...]
Is there a simpler way to get the same result?
The question is why do you want in the first place? `C-M-x' will _evaluate_ the current toplevel form; if your implementation happens to compile everything by default, then that's not SLIME's business.
But you can still be helped :), do you know about `C-c C-c'? Which I think will probably do exactly what you want, won't it?
-T.