branch: elpa/toc-org
commit d3677cd8c8b20fc27eee8456a0fdac3b557b4982
Author: Sergei Nosov <[email protected]>
Commit: Sergei Nosov <[email protected]>

    make compile-command run the tests
---
 org-toc.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/org-toc.el b/org-toc.el
index f90461ac3b..e03f292ccb 100644
--- a/org-toc.el
+++ b/org-toc.el
@@ -277,5 +277,9 @@ following tag formats:
   "Enable org-toc in this buffer."
   (add-hook 'before-save-hook 'org-toc-insert-toc nil t))
 
+;; Local Variables:
+;; compile-command: "emacs -batch -l ert -l *.el -f 
ert-run-tests-batch-and-exit"
+;; End:
+
 (provide 'org-toc)
 ;;; org-toc.el ends here

Reply via email to