* lisp/emacs-lisp/comp.el (comp-final): Log when interactively invoked.
This commit is contained in:
parent
63c65b4fe0
commit
9d4fd669cf
1 changed files with 8 additions and 6 deletions
|
@ -2516,12 +2516,14 @@ Prepare every function for final compilation and drive the C back-end."
|
|||
(with-temp-file temp-file
|
||||
(insert (prin1-to-string expr)))
|
||||
(with-temp-buffer
|
||||
(if (zerop
|
||||
(call-process (expand-file-name invocation-name
|
||||
invocation-directory)
|
||||
nil t t "--batch" "-l" temp-file))
|
||||
output
|
||||
(signal 'native-compiler-error (buffer-string)))))))
|
||||
(unwind-protect
|
||||
(if (zerop
|
||||
(call-process (expand-file-name invocation-name
|
||||
invocation-directory)
|
||||
nil t t "--batch" "-l" temp-file))
|
||||
output
|
||||
(signal 'native-compiler-error (buffer-string)))
|
||||
(comp-log-to-buffer (buffer-string)))))))
|
||||
|
||||
|
||||
;;; Compiler type hints.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue