]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't message the hunk status when just going to it
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 20 Aug 2020 14:52:57 +0000 (16:52 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 20 Aug 2020 14:52:57 +0000 (16:52 +0200)
* lisp/vc/diff-mode.el (diff-goto-source): Don't output a status
about the hunk just when jumping to it (bug#38370).  This would
output "Hunk already applied" when browsing diffs.

lisp/vc/diff-mode.el

index bd5ac9b9a62eb0da68143ef69089276757e6a8fe..aff20b6e6e997fcbb4a6c6a3864d24706cdfbe3d 100644 (file)
@@ -1988,8 +1988,7 @@ revision of the file otherwise."
                  (diff-find-source-location other-file reverse)))
       (pop-to-buffer buf)
       (goto-char (+ (car pos) (cdr src)))
-      (when buffer (next-error-found buffer (current-buffer)))
-      (diff-hunk-status-msg line-offset (xor reverse switched) t))))
+      (when buffer (next-error-found buffer (current-buffer))))))
 
 
 (defun diff-current-defun ()