From 8d4fffb6437bd86300c924034c8f787a62064dd1 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 21 Jan 2022 14:31:11 +0100 Subject: [PATCH] Remove text mistakenly added to the diff--iterate-hunks doc string * lisp/vc/diff-mode.el (diff--iterate-hunks): Remove text added by mistake to the doc string. --- lisp/vc/diff-mode.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el index ae2f545966e..731d1e8256f 100644 --- a/lisp/vc/diff-mode.el +++ b/lisp/vc/diff-mode.el @@ -2270,8 +2270,7 @@ Return new point, if it was moved." (defun diff--iterate-hunks (max fun) "Iterate over all hunks between point and MAX. -Call FUN with two args (BEG and END) for each hunk. -If INHIBIT-ERROR, ignore malformed hunks." +Call FUN with two args (BEG and END) for each hunk." (save-excursion (catch 'malformed (let* ((beg (or (ignore-errors (diff-beginning-of-hunk)) -- 2.39.5