dotemacs

My Emacs configuration
git clone git://git.entf.net/dotemacs
Log | Files | Refs | LICENSE

checkdoc-batch.el (382B)


      1 ;; -*- lexical-binding: t; -*-
      2 
      3 (require 'checkdoc)
      4 
      5 (defun markdown-test--checkdoc-file (file)
      6   "Check FILE for document, comment, error style, and rogue spaces.
      7 Taken from Emacs 25 source."
      8   (with-current-buffer (find-file-noselect file)
      9     (let ((checkdoc-diagnostic-buffer "*warn*"))
     10       (checkdoc-current-buffer t))))
     11 
     12 (markdown-test--checkdoc-file "../markdown-mode.el")