1
我還有一個關於定製emacs以供R會話使用的問題。我喜歡使用後向殺死函數,但這會刪除R會話中的命令提示符。我已嘗試修改功能在R會話中向後死在emacs
;; 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
來糾正這個問題,但是我需要將其更改爲?謝謝!