我正在尝试编写一个小的lisp函数来在单个org-mode分支中运行flyspell.我已将此添加到我的.emacs文件中:
(defun flyspell-current-tree()
(interactive)
(org-mark-subtree)
(flyspell-region))
(global-set-key (kbd "S-<f8>") 'flyspell-current-tree)
Run Code Online (Sandbox Code Playgroud)
但是在运行它时我收到以下错误:
flyspell-current-tree: Wrong number of arguments
Run Code Online (Sandbox Code Playgroud)
有任何想法吗?