master e0d2d80a628: lisp/vc/diff-mode.el (diff-find-text): Match case-sensitively (bug#81395)

Ihor Radchenko <[email protected]> Wed, 29 Jul 2026 12:56:03 -0400 (EDT)
Newsgroups gmane.emacs.diffs
Message-ID <[email protected]>
branch: master
commit e0d2d80a628eb3a2a158c43647d2ed5f32f72e3a
Author: Ihor Radchenko <[email protected]>
Commit: Ihor Radchenko <[email protected]>

    lisp/vc/diff-mode.el (diff-find-text): Match case-sensitively (bug#81395)
---
 lisp/vc/diff-mode.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el
index c27abda1af9..735c36f9d97 100644
--- a/lisp/vc/diff-mode.el
+++ b/lisp/vc/diff-mode.el
@@ -2070,6 +2070,7 @@ char-offset in TEXT."
   "Return the buffer position (BEG . END) of the nearest occurrence of TEXT.
 If TEXT isn't found, nil is returned."
   (let* ((orig (point))
+         (case-fold-search nil)
 	 (forw (and (search-forward text nil t)
 		    (cons (match-beginning 0) (match-end 0))))
 	 (back (and (goto-char (+ orig (length text)))