From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.devel Subject: checkdoc doc fix Date: Thu, 01 Nov 2018 12:27:17 -0700 Message-ID: <877ehwlht6.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: blaine.gmane.org 1541100346 14145 195.159.176.226 (1 Nov 2018 19:25:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 1 Nov 2018 19:25:46 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 01 20:25:41 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gIIb7-0003Zg-3T for ged-emacs-devel@m.gmane.org; Thu, 01 Nov 2018 20:25:41 +0100 Original-Received: from localhost ([::1]:43719 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gIIdD-00006W-L6 for ged-emacs-devel@m.gmane.org; Thu, 01 Nov 2018 15:27:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gIId3-0008TK-2T for emacs-devel@gnu.org; Thu, 01 Nov 2018 15:27:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gIIcx-00049u-VC for emacs-devel@gnu.org; Thu, 01 Nov 2018 15:27:40 -0400 Original-Received: from [195.159.176.226] (port=59049 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gIIcx-00047u-Mv for emacs-devel@gnu.org; Thu, 01 Nov 2018 15:27:35 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1gIIag-0003ER-OW for emacs-devel@gnu.org; Thu, 01 Nov 2018 20:25:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 47 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:lLeLdUHJ8/SVxdUumVZU2LkPzPc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:230960 Archived-At: --=-=-= Content-Type: text/plain Very meta. Can I apply doc fixes to the release branch without checking first? Eric --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Doc-fix-for-checkdoc-continue.patch >From b957d2bf54bd24022da49e79078ea87162a08b9c Mon Sep 17 00:00:00 2001 From: Eric Abrahamsen Date: Thu, 1 Nov 2018 12:18:15 -0700 Subject: [PATCH] Doc fix for checkdoc-continue * lisp/emacs-lisp/checkdoc.el (checkdoc-continue): There is no second optional argument, and the function always starts from point. --- lisp/emacs-lisp/checkdoc.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el index 83929beb1e..86d211c729 100644 --- a/lisp/emacs-lisp/checkdoc.el +++ b/lisp/emacs-lisp/checkdoc.el @@ -884,9 +884,8 @@ checkdoc-start ;;;###autoload (defun checkdoc-continue (&optional take-notes) "Find the next doc string in the current buffer which has a style error. -Prefix argument TAKE-NOTES means to continue through the whole buffer and -save warnings in a separate buffer. Second optional argument START-POINT -is the starting location. If this is nil, `point-min' is used instead." +Prefix argument TAKE-NOTES means to continue through the whole +buffer and save warnings in a separate buffer." (interactive "P") (let ((wrong nil) (msg nil) ;; Assign a flag to spellcheck flag -- 2.19.1 --=-=-=--