always name the compilation unit responsible for the error
This commit is contained in:
parent
f7c52087b2
commit
13f3b52fa4
1 changed files with 6 additions and 4 deletions
|
@ -1819,10 +1819,12 @@ Return the compilation unit filename."
|
|||
(symbol-name input)
|
||||
(file-name-sans-extension (expand-file-name input))))))
|
||||
(comp-log "\n\n" 1)
|
||||
(mapc (lambda (pass)
|
||||
(comp-log (format "Running pass %s:\n" pass) 2)
|
||||
(setq data (funcall pass data)))
|
||||
comp-passes)
|
||||
(condition-case err
|
||||
(mapc (lambda (pass)
|
||||
(comp-log (format "Running pass %s:\n" pass) 2)
|
||||
(setq data (funcall pass data)))
|
||||
comp-passes)
|
||||
(error (error "While compiling %s: %s" input (error-message-string err))))
|
||||
data))
|
||||
|
||||
;;;###autoload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue