# HG changeset patch # User Jim Blandy # Date 740721008 0 # Node ID 0a694f8e1730b203a13a5ebea666c0cdc27fa26d # Parent e67c6c10dd7ca1e40e3fb9c36171c2b48bd025c3 * diff.el (diff-parse-differences): Preserve the match data across the call to find-file-noselect. diff -r e67c6c10dd7c -r 0a694f8e1730 lisp/diff.el --- a/lisp/diff.el Tue Jun 22 03:44:28 1993 +0000 +++ b/lisp/diff.el Tue Jun 22 03:50:08 1993 +0000 @@ -113,7 +113,8 @@ (match-beginning subexpr) (match-end subexpr))))) (save-excursion - (set-buffer (find-file-noselect file)) + (save-match-data + (set-buffer (find-file-noselect file))) (save-excursion (goto-line line) (point-marker)))))