]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix elisp-byte-compile-buffer requirements
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 1 Jul 2022 11:19:31 +0000 (13:19 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 1 Jul 2022 11:19:31 +0000 (13:19 +0200)
* lisp/progmodes/elisp-mode.el (elisp-byte-compile-buffer):
Require bytecomp so that byte-compile-dest-file-function is
defined.  (The byte compiler didn't catch this, because it's
defined in bytecomp.)

lisp/progmodes/elisp-mode.el

index fb114ec990e42e697239dbead1263a8a8114651e..0c4a9bfdbeaf140178bd88d78be2b565976266c3 100644 (file)
@@ -2223,6 +2223,7 @@ interactively, this is the prefix argument."
   (interactive "P")
   (let ((bfn buffer-file-name)
         file elc)
+    (require 'bytecomp)
     (unwind-protect
         (progn
           (setq file (make-temp-file "compile" nil ".el")