From: Lars Ingebrigtsen Date: Thu, 15 Oct 2020 11:20:22 +0000 (+0200) Subject: Fix undefined function in project-compile X-Git-Tag: emacs-28.0.90~5627 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8fb761af6b9576022170aeb8278a8e27cd1d2be5;p=emacs.git Fix undefined function in project-compile * lisp/progmodes/project.el (project-compile): Require compile.el before using functions from the file (bug#44009). --- diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index 40a804b00ec..8f7482a23d7 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -940,6 +940,7 @@ Arguments the same as in `compile'." (interactive (list (let ((command (eval compile-command))) + (require 'compile) (if (or compilation-read-command current-prefix-arg) (compilation-read-command command) command))