summaryrefslogtreecommitdiff
path: root/lisp/loadup.el
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-05-23 14:25:44 +0100
committerAndrea Corallo <akrl@sdf.org>2020-05-23 14:25:44 +0100
commitf5dceed09a8234548d5b3acb76d443569533cab9 (patch)
treeafb0b8dbc75830182e2211f9de894f1f6109cf5f /lisp/loadup.el
parentd59607b68592fa709bd8466a3ac7300d280df83a (diff)
downloademacs-f5dceed09a8234548d5b3acb76d443569533cab9.tar.gz
* lisp/loadup.el: Use new 'native-comp-available-p'.
Diffstat (limited to 'lisp/loadup.el')
-rw-r--r--lisp/loadup.el2
1 files changed, 1 insertions, 1 deletions
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).