aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/Makefile.in')
-rw-r--r--lisp/Makefile.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index 50306ee6a2..9673be3060 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -107,6 +107,9 @@ COMPILE_FIRST = \
$(lisp)/emacs-lisp/bytecomp.elc \
$(lisp)/emacs-lisp/autoload.elc
+# Prevent any settings in the user environment causing problems.
+unexport EMACSDATA EMACSDOC EMACSPATH
+
# The actual Emacs command run in the targets below.
# Prevent any setting of EMACSLOADPATH in user environment causing problems.
emacs = EMACSLOADPATH= '$(EMACS)' $(EMACSOPT)