Skip to content

Commit ea02763

Browse files
authored
Fix native-compile-p function (syl20bnr#15718)
1 parent 201d22b commit ea02763

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/core-dumper.el

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,11 @@ native compilation is not in effect."
119119
(not (spacemacs/emacs-with-native-compilation-enabled-p))))
120120

121121
(defun spacemacs/emacs-with-native-compilation-enabled-p ()
122-
"Return non-nill if native compilation is enabled."
122+
"Return non-nil if native compilation is enabled."
123123
(and (featurep 'native-compile)
124-
(fboundp 'native-compile-available-p)
125-
(native-compile-available-p)
126-
(not (eql comp-speed -1))))
124+
(fboundp 'native-comp-available-p)
125+
(native-comp-available-p)
126+
(not (eql native-comp-speed -1))))
127127

128128
(defun spacemacs/dump-modes (modes)
129129
"Load given MODES in order to be dumped."

0 commit comments

Comments
 (0)