* lisp/emacs-lisp/comp.el (comp-final, comp-run-async-workers): Bind
`default-directory' to `invocation-directory'.
(temp-file (make-temp-file
(concat "emacs-int-comp-"
(file-name-base output) "-")
- nil ".el")))
+ nil ".el"))
+ (default-directory invocation-directory))
(with-temp-file temp-file
(insert ";; -*-coding: utf-8-emacs-unix; -*-\n")
(mapc (lambda (e)
(comp-log "\n")
(mapc #'comp-log expr-strings)))
(load1 load)
+ (default-directory invocation-directory)
(process (make-process
:name (concat "Compiling: " source-file)
:buffer (with-current-buffer