Don't check the exit status, it can be misleading
* lisp/progmodes/xref.el (xref-collect-matches): Don't check the exit status, it can be misleading.
This commit is contained in:
parent
f8c720b55b
commit
53cf3cfec1
1 changed files with 6 additions and 6 deletions
|
@ -772,12 +772,12 @@ tools are used, and when."
|
|||
hits)
|
||||
(with-current-buffer buf
|
||||
(erase-buffer)
|
||||
(when (eq (call-process-shell-command command nil t) 0)
|
||||
(goto-char (point-min))
|
||||
(while (re-search-forward grep-re nil t)
|
||||
(push (cons (string-to-number (match-string 2))
|
||||
(match-string 1))
|
||||
hits))))
|
||||
(call-process-shell-command command nil t)
|
||||
(goto-char (point-min))
|
||||
(while (re-search-forward grep-re nil t)
|
||||
(push (cons (string-to-number (match-string 2))
|
||||
(match-string 1))
|
||||
hits)))
|
||||
(unwind-protect
|
||||
(delq nil
|
||||
(mapcar (lambda (hit) (xref--collect-match hit regexp))
|
||||
|
|
Loading…
Add table
Reference in a new issue