Function: project-recompile

project-recompile is an interactive and byte-compiled function defined in project.el.gz.

Signature

(project-recompile &optional EDIT-COMMAND)

Documentation

Run recompile with appropriate buffer.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/project.el.gz
(defun project-recompile (&optional edit-command)
  "Run `recompile' with appropriate buffer."
  (declare (interactive-only recompile))
  (interactive "P")
  (let ((compilation-buffer-name-function
         (or project-compilation-buffer-name-function
             ;; Should we error instead?  When there's no
             ;; project-specific naming, there is no point in using
             ;; this command.
             compilation-buffer-name-function)))
    (recompile edit-command)))