[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 55ac750: Turn off checkdoc complaint about default
From: |
Mark Oteiza |
Subject: |
[Emacs-diffs] master 55ac750: Turn off checkdoc complaint about default argument order |
Date: |
Fri, 1 Sep 2017 17:39:10 -0400 (EDT) |
branch: master
commit 55ac7505a094c7c3d9ee28c7668a0179a072b889
Author: Mark Oteiza <address@hidden>
Commit: Mark Oteiza <address@hidden>
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.
---
etc/NEWS | 5 +++++
lisp/emacs-lisp/checkdoc.el | 3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/etc/NEWS b/etc/NEWS
index d32b0e5..be95504 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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
---
diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el
index 1d6fdfa..bc67a6b 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 55ac750: Turn off checkdoc complaint about default argument order,
Mark Oteiza <=