【发布时间】:2018-11-29 23:37:07
【问题描述】:
在新机器上安装 Emacs 和 Emacs Speaks Statistics (ESS) 后,我在打开 R 缓冲区时收到以下错误:ess-toggle-S-assign wrong number of arguments。我相信这是由于我的.emacs 文件中的以下部分,我将分配键从_ 重新分配到;,如下所示。为什么我的.emacs 文件不再有效?
;; ESS hook additions. Note that the duplicate calls to `(ess-toggle-S-assign
;; nil)` are correct: the first call clears the default `ess-smart-S-assign`
;; assignment and the second line re-assigns it to the customized setting.
(add-hook 'ess-mode-hook
(lambda ()
(setq ess-smart-S-assign-key ";") ; reassign ' <- ' to ';'
(ess-toggle-S-assign nil) ; see above comment
(ess-toggle-S-assign nil))) ; see above comment
【问题讨论】:
标签: ess