From 21bd7564f57b2a2eda61ddfe27cb5e7f9227ed80 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sat, 27 Feb 2021 15:37:36 -0800 Subject: [PATCH] Add checkdoc settings --- oni-elisp/oni-elisp.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/oni-elisp/oni-elisp.el b/oni-elisp/oni-elisp.el index 73e5bf7..a9d34ed 100644 --- a/oni-elisp/oni-elisp.el +++ b/oni-elisp/oni-elisp.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2020.0915.224953 +;; Version: 2021.0227.150704 ;; Package-Requires: (oni-company oni-flycheck oni-paredit oni-fci oni-yasnippet oni-hydra rainbow-delimiters nameless erefactor flycheck-relint handle elisp-format) ;; This program is free software; you can redistribute it and/or modify @@ -26,6 +26,7 @@ ;;; Code: +(require 'checkdoc) (require 'flycheck-relint) (require 'handle) (require 'hydra) @@ -130,6 +131,10 @@ _eb_: Buffer (flycheck-relint-setup) +(add-hook 'emacs-lisp-mode-hook 'checkdoc-minor-mode) + +(setq checkdoc-spellcheck-documentation-flag t) + (handle '(emacs-lisp-mode inferior-emacs-lisp-mode) :repls 'ielm :formatters 'elisp-format-buffer)