1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00

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.
This commit is contained in:
Mark Oteiza 2017-09-01 17:31:45 -04:00
parent 4bc2795a40
commit 55ac7505a0
2 changed files with 7 additions and 1 deletions

View File

@ -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
---

View File

@ -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)