Subject: bug#26328: 26.0.50; checkdoc action for join lines drops final "

From: Lars Ingebrigtsen <[email-masked]>
Date: Thu, 15 Aug 2019 16:18:30 -0700

Alex Branham <[email-masked]> writes:

>>> AFAICT, both proposed patches will do the wrong thing for this case:
>>>
>>>     (defun foo ()
>>>       "Bla bla
>>>     bla bla.  More words
>>>     bla bla bla.")

[...]

> +		   (when (checkdoc-autofix-ask-replace
> +		          p (1+ p)
> +		          "1st line not a complete sentence.  Join these lines? "
> +		          " " t)
> +		     ;; They said yes.  We have more fill work to do...
> +		     (delete-indentation nil p (1+ p))
> +		     (setq msg nil)))))

This looks like the right thing for the original use case, but will it
fix the example above?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no