1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00

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.)
This commit is contained in:
Lars Ingebrigtsen 2022-07-01 13:19:31 +02:00
parent 467a02d69e
commit 3a4c408a7b

View 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")