Makefile: Add target checkdoc to check documentation guidelines of lisp files

Fixes #211
This commit is contained in:
fabacino
2017-08-04 11:31:04 +02:00
committed by Oleh Krehel
parent 83859c30fa
commit 240d717632
4 changed files with 8 additions and 9 deletions

View File

@@ -22,11 +22,5 @@
(add-to-list 'load-path default-directory)
(mapc #'byte-compile-file '("avy.el"))
(require 'avy)
(if (fboundp 'checkdoc-file)
(checkdoc-file "avy.el")
(require 'checkdoc)
(with-current-buffer (find-file "avy.el")
(checkdoc-current-buffer t)))
(global-set-key (kbd "C-c j") 'avy-goto-char)
(global-set-key (kbd "C-'") 'avy-goto-char-2)

2
targets/checkdoc.el Normal file
View File

@@ -0,0 +1,2 @@
(checkdoc-file "avy-test.el")
(checkdoc-file "avy.el")