Commit 057f9349 authored by Dmitry Gutov's avatar Dmitry Gutov

Do not corrupt grep-find-ignored-files

* lisp/progmodes/project.el (project-ignores): Change the order of
the arguments to nconc, in order not to corrupt grep-find-ignored-files.
parent 5330a45e
......@@ -108,7 +108,6 @@ end it with `/'."
(cl-defmethod project-ignores ((project (head vc)))
(nconc
(cl-call-next-method)
(let* ((dir (cdr project))
(backend (vc-responsible-backend dir)))
(mapcar
......@@ -116,7 +115,8 @@ end it with `/'."
(if (string-match "\\`/" entry)
(replace-match "./" t t entry)
entry))
(vc-call-backend backend 'ignore-completion-table dir)))))
(vc-call-backend backend 'ignore-completion-table dir)))
(cl-call-next-method)))
(defun project-ask-user (dir)
(cons 'user (read-directory-name "Project root: " dir nil t)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment