]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/bytecomp.el: Don't load compile at runtime.
authorGlenn Morris <rgm@gnu.org>
Thu, 29 Nov 2018 03:45:36 +0000 (19:45 -0800)
committerGlenn Morris <rgm@gnu.org>
Thu, 29 Nov 2018 03:45:36 +0000 (19:45 -0800)
It isn't needed and slows down compiling other files.

lisp/emacs-lisp/bytecomp.el

index f60ccdae288daef848c2cd4be3e7f1ab7e5dbcb0..d6986cb7868a8243476a9e2f57c6abe32a303083 100644 (file)
 (require 'backquote)
 (require 'macroexp)
 (require 'cconv)
-(require 'compile)
+(eval-when-compile (require 'compile))
 ;; Refrain from using cl-lib at run-time here, since it otherwise prevents
 ;; us from emitting warnings when compiling files which use cl-lib without
 ;; requiring it! (bug#30635)