emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master bd05239: Don't message the hunk status when just going to it


From: Lars Ingebrigtsen
Subject: master bd05239: Don't message the hunk status when just going to it
Date: Thu, 20 Aug 2020 10:53:06 -0400 (EDT)

branch: master
commit bd0523901bd022ae94503dcedda3fc879e6d0702
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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.
---
 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 bd5ac9b..aff20b6 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 ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]