当我在emacs中选择M-x
执行eval-region
(+ 1 1)
时,我无法在迷你缓冲区中看到结果2
。如何查看结果,就像C-x
C-e
?
答案 0 :(得分:2)
尝试此功能:
(defun my-eval-region (start end)
"Evaluate the region, printing the result to the minibuffer."
(interactive "r")
(eval-region start end t))