mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
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.
This commit is contained in:
parent
b19b942f72
commit
bd0523901b
@ -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 ()
|
||||
|
Loading…
Reference in New Issue
Block a user