Function: project-recompile
project-recompile is an autoloaded, interactive and byte-compiled
function defined in project.el.gz.
Signature
(project-recompile &optional EDIT-COMMAND)
Documentation
Run recompile in the project root with an appropriate buffer.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/project.el.gz
;;;###autoload
(defun project-recompile (&optional edit-command)
"Run `recompile' in the project root with an appropriate buffer."
(declare (interactive-only recompile))
(interactive "P")
(let ((default-directory (project-root (project-current t)))
(compilation-buffer-name-function
(or project-compilation-buffer-name-function
compilation-buffer-name-function)))
(recompile edit-command)))