【发布时间】:2011-09-13 00:19:13
【问题描述】:
我还有一个关于自定义 emacs 以用于 R 会话的问题。我喜欢使用向后的 kill 功能,但这会删除 R 会话中的命令提示符。我试过修改函数
;; Kill to the start of the command line for R
(defun backward-kill-r ()
"Kill chars backward until encountering the end of a line."
(interactive)
(delete-region (point-at-bol) (point)))
但我得到了相同的提示删除行为。我猜我可以更改point-at-bol 来纠正这个问题,但是我需要将其更改为什么?谢谢!
【问题讨论】: