summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorMark Oteiza <mvoteiza@udel.edu>2017-09-01 17:31:45 -0400
committerMark Oteiza <mvoteiza@udel.edu>2017-09-01 17:31:45 -0400
commit55ac7505a094c7c3d9ee28c7668a0179a072b889 (patch)
tree5f039bfdf380ecd3f0f6977ff3f1790d5f25defe /lisp/emacs-lisp
parent4bc2795a401cf31fa8bb4d5a45698b181951786f (diff)
downloademacs-55ac7505a094c7c3d9ee28c7668a0179a072b889.tar.gz
emacs-55ac7505a094c7c3d9ee28c7668a0179a072b889.tar.bz2
emacs-55ac7505a094c7c3d9ee28c7668a0179a072b889.zip
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.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/checkdoc.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el
index 1d6fdfa4e87..bc67a6be51a 100644
--- a/lisp/emacs-lisp/checkdoc.el
+++ b/lisp/emacs-lisp/checkdoc.el
@@ -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)