emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 05d240997a 2/2: Add native-compile-prune-cache command


From: Robert Pluim
Subject: Re: master 05d240997a 2/2: Add native-compile-prune-cache command
Date: Fri, 22 Jul 2022 10:51:18 +0200

>>>>> On Sat,  2 Jul 2022 06:59:56 -0400 (EDT), Lars Ingebrigtsen 
>>>>> <larsi@gnus.org> said:

    Lars> branch: master
    Lars> commit 05d240997aeb6ffe3db21e7f4c8e2f181edc37b6
    Lars> Author: Lars Ingebrigtsen <larsi@gnus.org>
    Lars> Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Lars>     Add native-compile-prune-cache command
    
    Lars>     * lisp/emacs-lisp/comp.el (native-compile-prune-cache): New
    Lars>     command (bug#48108).


Should we wrap this (and perhaps `startup-redirect-eln-cache') in
(when native-comp-available-p) ? In a non-native compile Emacs they
signal an error:

Debugger entered--Lisp error: (void-variable native-comp-eln-load-path)
  (let ((--dolist-tail-- native-comp-eln-load-path)) (while --dolist-tail-- 
(let ((dir (car --dolist-tail--))) (setq dir (expand-file-name dir 
invocation-directory)) (if (file-exists-p dir) (progn (let ((--dolist-tail-- 
...)) (while --dolist-tail-- (let ... ... ...))))) (setq --dolist-tail-- (cdr 
--dolist-tail--)))))
  native-compile-prune-cache()
  eval((native-compile-prune-cache) t)
  eval-expression((native-compile-prune-cache) nil nil 4194303)
  funcall-interactively(eval-expression (native-compile-prune-cache) nil nil 
4194303)
  call-interactively(eval-expression nil nil)
  command-execute(eval-expression)

Robert
-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]