Skip to content

Commit

Permalink
Move a couple of settings to .dir-locals.el
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatsov committed Sep 21, 2023
1 parent cf3c76a commit 5086084
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .dir-locals.el
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@
(fill-column . 80)
(sentence-end-double-space . t)
(emacs-lisp-docstring-fill-column . 75)
;; slightly increase the maximum (applies to checkdoc and the byte compiler alike)
(byte-compile-docstring-max-column 100)
(checkdoc-symbol-words . ("top-level" "major-mode" "macroexpand-all" "print-level" "print-length"))
(checkdoc-package-keywords-flag)
(checkdoc-arguments-in-order-flag)
(checkdoc-verb-check-experimental-flag)
;; allow commas to indicate that the first sentence continues, which enables longer first sentences
(checkdoc-permit-comma-termination-flag t)
(elisp-lint-indent-specs . ((if-let* . 2)
(when-let* . 1)
(let* . defun)
Expand Down
3 changes: 0 additions & 3 deletions Eldev
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@
(signal 'eldev-wrong-option-usage `("unknown test type `%s'" ,type)))
(setf cider-test-type (intern type)))

(setq byte-compile-docstring-max-column 100) ;; slightly increase the maximum (applies to checkdoc and the byte compiler alike)
(setq checkdoc-permit-comma-termination-flag t) ;; allow commas to indicate that the first sentence continues, which enables longer first sentences

(add-hook 'eldev-test-hook
(lambda ()
(eldev-verbose "Using cider tests of type `%s'" cider-test-type)))
Expand Down

0 comments on commit 5086084

Please sign in to comment.