]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/loadup.el: Use new 'native-comp-available-p'.
authorAndrea Corallo <akrl@sdf.org>
Sat, 23 May 2020 13:25:44 +0000 (14:25 +0100)
committerAndrea Corallo <akrl@sdf.org>
Sat, 23 May 2020 13:25:44 +0000 (14:25 +0100)
lisp/loadup.el

index 7cf2cb01c33598fcc08bef32952b99f6cdb561ac..31843fc24d16de1154ee041ecdcfebcca25a3378 100644 (file)
@@ -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).