aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/xref.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
index 042429e3efe..e76f0ed0b8d 100644
--- a/lisp/progmodes/xref.el
+++ b/lisp/progmodes/xref.el
@@ -772,12 +772,12 @@ tools are used, and when."
772 hits) 772 hits)
773 (with-current-buffer buf 773 (with-current-buffer buf
774 (erase-buffer) 774 (erase-buffer)
775 (when (eq (call-process-shell-command command nil t) 0) 775 (call-process-shell-command command nil t)
776 (goto-char (point-min)) 776 (goto-char (point-min))
777 (while (re-search-forward grep-re nil t) 777 (while (re-search-forward grep-re nil t)
778 (push (cons (string-to-number (match-string 2)) 778 (push (cons (string-to-number (match-string 2))
779 (match-string 1)) 779 (match-string 1))
780 hits)))) 780 hits)))
781 (unwind-protect 781 (unwind-protect
782 (delq nil 782 (delq nil
783 (mapcar (lambda (hit) (xref--collect-match hit regexp)) 783 (mapcar (lambda (hit) (xref--collect-match hit regexp))