do not compile automatically autoloads
This commit is contained in:
parent
8b8b8539d7
commit
d8f3f8736c
1 changed files with 4 additions and 3 deletions
|
@ -1767,9 +1767,10 @@ Prepare every function for final compilation and drive the C back-end."
|
|||
(defun comp-to-file-p (file)
|
||||
"Return t if FILE has to be compiled."
|
||||
(let ((compiled-f (concat file "n")))
|
||||
(or comp-always-compile
|
||||
(not (and (file-exists-p compiled-f)
|
||||
(file-newer-than-file-p compiled-f file))))))
|
||||
(and (null (string-match-p "autoloads.el" file))
|
||||
(or comp-always-compile
|
||||
(not (and (file-exists-p compiled-f)
|
||||
(file-newer-than-file-p compiled-f file)))))))
|
||||
|
||||
(defun comp-start-async-worker ()
|
||||
"Start an async compiler worker."
|
||||
|
|
Loading…
Add table
Reference in a new issue