summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-01-21 14:31:11 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2022-01-21 14:31:11 +0100
commit8d4fffb6437bd86300c924034c8f787a62064dd1 (patch)
tree2bb5bec29e1684dd0a07a6264bc5f945fd6f82ea
parentd7f0a0538d954f8e99dd55a2881b905ee053797e (diff)
downloademacs-8d4fffb6437bd86300c924034c8f787a62064dd1.tar.gz
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.
-rw-r--r--lisp/vc/diff-mode.el3
1 files changed, 1 insertions, 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))