mir*_*irk 10
下面的.emacs中的lisp-snippet让它在Ubuntu Linux上为我工作
(add-hook 'c-mode-common-hook 'flyspell-prog-mode)
Run Code Online (Sandbox Code Playgroud)
存在替代设置.但我认为你可以通过google搜索flyspell-prog-mode找到它们.
拼写检查文件中已有的评论:
M-x ispell-comments-and-strings
Run Code Online (Sandbox Code Playgroud)
在键入时拼写检查注释:
M-x flyspell-prog-mode
Run Code Online (Sandbox Code Playgroud)
和.emacs
kindahero建议的钩子.