如果为我的init.el启用flycheck-mode,则出现以下几种错误:
The first line should be of the form: ";;; package --- Summary" (emacs-lisp-checkdoc)
...
The footer should be: (provide 'init)\n;;; init.el ends here (emacs-lisp-checkdoc)
如何停止flycheck将我的init.el视为软件包?
编辑
我试图遵循以下最小启动文件:
;; flycheck-mode
(require 'flycheck)
(global-flycheck-mode)
(setq-default flycheck-disabled-checker '(emacs-lisp-checkdoc))
仅启用flycheck及其依赖项。emacs-lisp-checkdoc
在禁用的检查器列表中,但flycheck仍列出错误:
0 warning The first line should be of the form: ";;; package --- Summary" (emacs-lisp-checkdoc) 0 warning You should have a section marked ";;; Commentary:" (emacs-lisp-checkdoc) 2 1 error Cannot open load file: no such file or directory, flycheck (emacs-lisp) 3 warning You should have a section marked ";;; Code:" (emacs-lisp-checkdoc) 5 warning The footer should be: (provide 'test)\n;;; test.el ends here (emacs-lisp-checkdoc)
我正在git存储库(26snapshot)中使用Emacs 24.5.1和最新的flycheck。