summaryrefslogtreecommitdiff
path: root/emacs.org
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-08-20 14:17:04 +0300
committerThanos Apollo <[email protected]>2023-08-20 14:17:20 +0300
commite002dc4338f9c3940a1247010a5d570dbe1d620e (patch)
tree288946e0798b5907c66475d5adbe76a49f194484 /emacs.org
parente567f4d914bcda9105b51a4a926db1c95b370ec9 (diff)
emacs: Remove flycheck checkdoc for org-src buffers
Diffstat (limited to 'emacs.org')
-rwxr-xr-xemacs.org4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs.org b/emacs.org
index 1954b79..a31f19f 100755
--- a/emacs.org
+++ b/emacs.org
@@ -701,6 +701,10 @@ Generate a random password between 20 and 40 characters
(add-hook 'emacs-lisp-mode-hook #'rainbow-delimiters-mode)
(add-hook 'emacs-lisp-mode-hook #'company-mode)
(add-hook 'emacs-lisp-mode-hook #'display-line-numbers-mode)
+
+ ;; Disable checkdoc flycheck for org-src buffers
+ (add-hook 'org-src-mode-hook #'(lambda ()
+ (flycheck-disable-checker 'emacs-lisp-checkdoc)))
#+end_src
** Common Lisp
#+begin_src emacs-lisp