我想F5切换到最近使用的缓冲区。此功能是通过运行M-x
icicle-buffer
然后按回车键来完成的,以不指定我要切换到的缓冲区——(icicle 的默认行为是切换到最近的缓冲区。)
我试过编辑我的.emacs
:
(defun most-recent-buffer-please ()
(interactive)
(icicle-buffer " "))
(global-set-key [(f5)] 'most-recent-buffer-please)
但是当我评估这个 lisp,然后点击F5时,我得到一个错误,该错误Wrong number of arguments
以很多乱码字符开头。我究竟做错了什么?