From: Lars Ingebrigtsen Date: Fri, 1 Jul 2022 11:19:31 +0000 (+0200) Subject: Fix elisp-byte-compile-buffer requirements X-Git-Tag: emacs-29.0.90~1447^2~1300 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3a4c408a7b6f3df5ca0eb4a406efbdb4899e9742;p=emacs.git Fix elisp-byte-compile-buffer requirements * 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.) --- diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index fb114ec990e..0c4a9bfdbea 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el @@ -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")