You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

669 B

Language - Emacs Lisp

Package

Define Emacs Lisp language package.

  (use-package emacs
    :after uno-lang
    :config
    (provide 'uno-lang-elisp))

Flycheck Integration

  (use-package emacs
    :after flycheck
    :hook
    (emacs-lisp-mode . flycheck-mode)
    (emacs-lisp-mode . uno/emacs-lisp/check-org-src)
    :init
    (defun uno/lang/elisp/check-org-src ()
      "Check if in org-src mode."
      (when (org-src-edit-buffer-p)
        (make-local-variable 'flycheck-disabled-checkers)
        (push 'emacs-lisp-checkdoc flycheck-disabled-checkers))))