Commit 55ac7505 authored by Mark Oteiza's avatar Mark Oteiza

Turn off checkdoc complaint about default argument order

* etc/NEWS: Mention change.
* lisp/emacs-lisp/checkdoc.el (checkdoc-arguments-in-order-flag):
Disable by default, note version.
parent 4bc2795a
......@@ -673,6 +673,11 @@ bound to 'Buffer-menu-unmark-all-buffers'.
*** Two new commands 'Buffer-menu-unmark-all', bound to 'U' and
'Buffer-menu-unmark-all-buffers', bound to 'M-DEL'.
---
** Checkdoc
*** 'checkdoc-arguments-in-order-flag' now defaults to nil.
** Gnus
---
......
......@@ -258,12 +258,13 @@ Any more than this and a warning is generated suggesting that the construct
\\ {keymap} be used instead."
:type 'integer)
(defcustom checkdoc-arguments-in-order-flag t
(defcustom checkdoc-arguments-in-order-flag nil
"Non-nil means warn if arguments appear out of order.
Setting this to nil will mean only checking that all the arguments
appear in the proper form in the documentation, not that they are in
the same order as they appear in the argument list. No mention is
made in the style guide relating to order."
:version "26.1"
:type 'boolean)
;;;###autoload(put 'checkdoc-arguments-in-order-flag 'safe-local-variable #'booleanp)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment