]> git.eshelyaron.com Git - emacs.git/commitdiff
; Add a FIXME about handing a missing find or grep program
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 10 Apr 2017 03:22:55 +0000 (06:22 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 10 Apr 2017 03:22:55 +0000 (06:22 +0300)
lisp/progmodes/xref.el

index a8933b0103eac0e365fafe0abd2d076de254fd4b..e9c42a129a8a227ada9f2fef5fcadc8bb5b8b737 100644 (file)
@@ -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))