]> git.eshelyaron.com Git - emacs.git/commitdiff
; Add an autoload cookie for native-compile-prune-cache
authorGerd Möllmann <gerd@gnu.org>
Mon, 9 Dec 2024 05:41:09 +0000 (06:41 +0100)
committerEshel Yaron <me@eshelyaron.com>
Thu, 12 Dec 2024 15:46:42 +0000 (16:46 +0100)
* lisp/emacs-lisp/comp.el (native-compile-prune-cache): Make it
autoload.

(cherry picked from commit b8ee67b6963a913d2842d69686f92f690c78cc50)

lisp/emacs-lisp/comp.el

index f77c017bdd2ce60b4bc3b5b4823ba45ed5aa1fe3..44d31c4e9359074b10e1549f288255b3b1fdc12b 100644 (file)
@@ -3739,6 +3739,7 @@ variable \"NATIVE_DISABLED\" is set, only byte compile."
       (comp--write-bytecode-file eln-file)
       (setq command-line-args-left (cdr command-line-args-left)))))
 
+;;;###autoload
 (defun native-compile-prune-cache ()
   "Remove .eln files that aren't applicable to the current Emacs invocation."
   (interactive)