]> code.delx.au - gnu-emacs/commit
Fold `project-ask-user' into `project-current'
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 10 Nov 2015 00:41:06 +0000 (02:41 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 10 Nov 2015 00:41:06 +0000 (02:41 +0200)
commit1c72afb7aa48c2ea06103113ef70ccea0c1c961d
tree3e79438a2959c541159a326e70ebc6816e2ceb30
parente4c190b28d658d92f8c19799b19f8263650687e0
Fold `project-ask-user' into `project-current'

* lisp/progmodes/project.el (project-find-functions): Remove
`project-ask-user'.
(project-ask-user): Remove function and the corresponding
`project-roots' implementation.
(project-current): Add a new argument, MAYBE-PROMPT.  Prompt the
user in case there's no project in the current directory.  Update
all callers.
lisp/progmodes/elisp-mode.el
lisp/progmodes/etags.el
lisp/progmodes/project.el