make compile should run checkdoc

* targets/avy-init.el: Call `checkdoc' for "avy.el". This will actually
  work only in trunk Emacs.
This commit is contained in:
Oleh Krehel 2015-05-18 10:14:00 +02:00
parent d6b741b444
commit b288c69aa0

View File

@ -22,5 +22,8 @@
(add-to-list 'load-path default-directory) (add-to-list 'load-path default-directory)
(mapc #'byte-compile-file '("avy.el")) (mapc #'byte-compile-file '("avy.el"))
(require 'avy) (require 'avy)
(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-c j") 'avy-goto-char)
(global-set-key (kbd "C-'") 'avy-goto-char-2) (global-set-key (kbd "C-'") 'avy-goto-char-2)