From b288c69aa0d23106836476e178b9f35872259ac8 Mon Sep 17 00:00:00 2001 From: Oleh Krehel Date: Mon, 18 May 2015 10:14:00 +0200 Subject: [PATCH] make compile should run checkdoc * targets/avy-init.el: Call `checkdoc' for "avy.el". This will actually work only in trunk Emacs. --- targets/avy-init.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/targets/avy-init.el b/targets/avy-init.el index 6751b74..21dd0ab 100644 --- a/targets/avy-init.el +++ b/targets/avy-init.el @@ -22,5 +22,8 @@ (add-to-list 'load-path default-directory) (mapc #'byte-compile-file '("avy.el")) (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-'") 'avy-goto-char-2)