From: Dmitry Gutov Date: Mon, 20 Jul 2015 01:42:53 +0000 (+0300) Subject: Do not corrupt grep-find-ignored-files X-Git-Tag: emacs-25.0.90~1459 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=057f93499eb0491ef816b71523242e18ae810cd5;p=emacs.git 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. --- diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index 437c865dc08..44a15dc5917 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -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)))