Eli Zaretskii writes: > We should not try to native-compile lock files, obviously. Some code > naïvely uses "*.el" to find all the Lisp files; it should filter out > lock files. Please see attached patch. > P.S. Please always say in what version of Emacs you see the problem > you report. Bonus points for including all of the information > collected by report-emacs-bug about your system and Emacs > configurations. Thanks - I'm on 29.0.92. I'll include that information next time.