Function: project-async-shell-command

project-async-shell-command is an autoloaded, interactive and byte-compiled function defined in project.el.gz.

Signature

(project-async-shell-command)

Documentation

Run async-shell-command in the current project's root directory.

View in manual

Probably introduced at or before Emacs version 28.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/project.el.gz
;;;###autoload
(defun project-async-shell-command ()
  "Run `async-shell-command' in the current project's root directory."
  (declare (interactive-only async-shell-command))
  (interactive)
  (let ((default-directory (project-root (project-current t))))
    (call-interactively #'async-shell-command)))