mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-12 04:36:38 -04:00

git-subtree-dir: lib/markdown-mode git-subtree-split: 3f11a4a7609ba2a507ee10f491bdadab28e9b985
10 lines
350 B
EmacsLisp
10 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")
|