summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-10-15 13:20:22 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2020-10-15 13:20:22 +0200
commit8fb761af6b9576022170aeb8278a8e27cd1d2be5 (patch)
tree6c04f46649b5d76eb2051e69244e966996c668ee
parent674fee5e9fb70d83d9408ebc01d8c15bd641663c (diff)
downloademacs-8fb761af6b9576022170aeb8278a8e27cd1d2be5.tar.gz
emacs-8fb761af6b9576022170aeb8278a8e27cd1d2be5.tar.bz2
emacs-8fb761af6b9576022170aeb8278a8e27cd1d2be5.zip
Fix undefined function in project-compile
* lisp/progmodes/project.el (project-compile): Require compile.el before using functions from the file (bug#44009).
-rw-r--r--lisp/progmodes/project.el1
1 files changed, 1 insertions, 0 deletions
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))