diff --git a/core/cli/packages.el b/core/cli/packages.el index 7fb74d35f..a2a1fb850 100644 --- a/core/cli/packages.el +++ b/core/cli/packages.el @@ -312,7 +312,7 @@ declaration) or dependency thereof that hasn't already been." (want-native-compile (or (eq build t) (memq 'native-compile build)))) - (when (eq (car build) :not) + (when (eq (car-safe build) :not) (setq want-byte-compile (not want-byte-compile) want-native-compile (not want-native-compile))) (unless (require 'comp nil t)