]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix undefined function in project-compile
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 15 Oct 2020 11:20:22 +0000 (13:20 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 15 Oct 2020 11:20:22 +0000 (13:20 +0200)
* lisp/progmodes/project.el (project-compile): Require compile.el
before using functions from the file (bug#44009).

lisp/progmodes/project.el

index 40a804b00ec542eca4dbe75cd344aa79b99662bc..8f7482a23d7306855bb3fecad3c5a3190a62f278 100644 (file)
@@ -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))