From: Andrea Corallo Date: Sat, 23 May 2020 13:25:44 +0000 (+0100) Subject: * lisp/loadup.el: Use new 'native-comp-available-p'. X-Git-Tag: emacs-28.0.90~2727^2~617 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f5dceed09a8234548d5b3acb76d443569533cab9;p=emacs.git * lisp/loadup.el: Use new 'native-comp-available-p'. --- diff --git a/lisp/loadup.el b/lisp/loadup.el index 7cf2cb01c33..31843fc24d1 100644 --- a/lisp/loadup.el +++ b/lisp/loadup.el @@ -449,7 +449,7 @@ lost after dumping"))) ;; At this point, we're ready to resume undo recording for scratch. (buffer-enable-undo "*scratch*") -(when (boundp 'comp-ctxt) ; FIXME better native-comp feature discriminant? +(when (native-comp-available-p) ;; Fix the compilation unit filename to have it working when ;; when installed or if the source directory got moved. This is set to be ;; a pair in the form: (rel-path-from-install-bin . rel-path-from-local-bin).