* Re: master 502dbd1f7c 1/2: Make diff--iterate-hunks more resilient
[not found] ` <20220121110815.751D0C0DA31@vcs2.savannah.gnu.org>
@ 2022-01-21 13:48 ` Robert Pluim
2022-01-21 13:51 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Robert Pluim @ 2022-01-21 13:48 UTC (permalink / raw)
To: emacs-devel; +Cc: Lars Ingebrigtsen
>>>>> On Fri, 21 Jan 2022 06:08:15 -0500 (EST), Lars Ingebrigtsen <larsi@gnus.org> said:
Lars> branch: master
Lars> commit 502dbd1f7c0295c1f01643778d2a6aea17a9808c
Lars> Author: Lars Ingebrigtsen <larsi@gnus.org>
Lars> Commit: Lars Ingebrigtsen <larsi@gnus.org>
Lars> Make diff--iterate-hunks more resilient
Lars> * lisp/vc/diff-mode.el (diff--iterate-hunks): Ignore malformed
Lars> hunks instead of signalling errors (bug#53343).
Lars> ---
Lars> lisp/vc/diff-mode.el | 36 ++++++++++++++++++++----------------
Lars> 1 file changed, 20 insertions(+), 16 deletions(-)
Lars> diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el
Lars> index 37eaf254fd..ae2f545966 100644
Lars> --- a/lisp/vc/diff-mode.el
Lars> +++ b/lisp/vc/diff-mode.el
Lars> @@ -2270,23 +2270,27 @@ Return new point, if it was moved."
Lars> (defun diff--iterate-hunks (max fun)
Lars> "Iterate over all hunks between point and MAX.
Lars> -Call FUN with two args (BEG and END) for each hunk."
Lars> +Call FUN with two args (BEG and END) for each hunk.
Lars> +If INHIBIT-ERROR, ignore malformed hunks."
Did you intend to add a new argument to diff--iterate-hunks?
Robert
--
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: master 502dbd1f7c 1/2: Make diff--iterate-hunks more resilient
2022-01-21 13:48 ` master 502dbd1f7c 1/2: Make diff--iterate-hunks more resilient Robert Pluim
@ 2022-01-21 13:51 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-01-21 13:51 UTC (permalink / raw)
To: Robert Pluim; +Cc: emacs-devel
Robert Pluim <rpluim@gmail.com> writes:
> Did you intend to add a new argument to diff--iterate-hunks?
Fixed now.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-21 13:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <164276329501.1480.7261420752311561725@vcs2.savannah.gnu.org>
[not found] ` <20220121110815.751D0C0DA31@vcs2.savannah.gnu.org>
2022-01-21 13:48 ` master 502dbd1f7c 1/2: Make diff--iterate-hunks more resilient Robert Pluim
2022-01-21 13:51 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).