Skip to content

Commit

Permalink
Fix native-compile-p function (syl20bnr#15718)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryce-carson committed Sep 2, 2022
1 parent 201d22b commit ea02763
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/core-dumper.el
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,11 @@ native compilation is not in effect."
(not (spacemacs/emacs-with-native-compilation-enabled-p))))

(defun spacemacs/emacs-with-native-compilation-enabled-p ()
"Return non-nill if native compilation is enabled."
"Return non-nil if native compilation is enabled."
(and (featurep 'native-compile)
(fboundp 'native-compile-available-p)
(native-compile-available-p)
(not (eql comp-speed -1))))
(fboundp 'native-comp-available-p)
(native-comp-available-p)
(not (eql native-comp-speed -1))))

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

0 comments on commit ea02763

Please sign in to comment.