diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2017-04-10 06:22:55 +0300 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2017-04-10 06:22:55 +0300 |
commit | 0fb52dcc45742af58a081bd6ca27b70f6a6a1899 (patch) | |
tree | 0cdcdb21b423bf052a9da8405f754724e5a5ed63 /lisp/progmodes/xref.el | |
parent | f3662966c3e8caded696dfd9f0e5d61666c4f886 (diff) | |
download | emacs-0fb52dcc45742af58a081bd6ca27b70f6a6a1899.tar.gz |
; Add a FIXME about handing a missing find or grep program
Diffstat (limited to 'lisp/progmodes/xref.el')
-rw-r--r-- | lisp/progmodes/xref.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index a8933b0103e..e9c42a129a8 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el @@ -931,6 +931,10 @@ IGNORES is a list of glob patterns." (with-current-buffer buf (erase-buffer) (call-process-shell-command command nil t) + ;; FIXME: What to do when the call fails? + ;; "find: ‘zzgrep’: No such file or directory\n" + ;; The problem is, find-grep can exit with a nonzero code even + ;; when there are some matches in the output. (goto-char (point-min)) (while (re-search-forward grep-re nil t) (push (list (string-to-number (match-string 2)) |