From: Lars Ingebrigtsen Date: Thu, 20 Aug 2020 14:52:57 +0000 (+0200) Subject: Don't message the hunk status when just going to it X-Git-Tag: emacs-28.0.90~6492 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bd0523901bd022ae94503dcedda3fc879e6d0702;p=emacs.git Don't message the hunk status when just going to it * 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. --- diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el index bd5ac9b9a62..aff20b6e6e9 100644 --- a/lisp/vc/diff-mode.el +++ b/lisp/vc/diff-mode.el @@ -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 ()