mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-12 12:46:38 -04:00
11 lines
350 B
EmacsLisp
11 lines
350 B
EmacsLisp
![]() |
(require 'checkdoc)
|
||
|
|
||
|
(defun markdown-test--checkdoc-file (file)
|
||
|
"Check FILE for document, comment, error style, and rogue spaces.
|
||
|
Taken from Emacs 25 source."
|
||
|
(with-current-buffer (find-file-noselect file)
|
||
|
(let ((checkdoc-diagnostic-buffer "*warn*"))
|
||
|
(checkdoc-current-buffer t))))
|
||
|
|
||
|
(markdown-test--checkdoc-file "../markdown-mode.el")
|