Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想要一个将点移动到行尾(或标记段落)然后评估的函数。我得到了这个工作,但它没有像干净的 Cx Ce 那样好的错误处理。任何想法如何简单地编程?
直截了当的定义有什么问题?
(defun my-eval-last-sexp (arg) (interactive "P") (move-end-of-line 1) (eval-last-sexp arg))