Open hungptit opened 2 years ago
I also received this error when native comp was trying to compile the prelude code with emacs 28. I found that adding
(require 'crux)
just before
(crux-with-region-or-line kill-region)
solved the issue.
@billsacks Thanks a lot for your suggestion. I have pulled a simple MR using your suggested fix here
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding!
Expected behavior
Emacs can start successfully.
Actual behavior
I receive the below error message when starting Emacs 29.0.50.
Steps to reproduce the problem
The problem will go away if we
(crux-with-region-or-line kill-region)
in the prelude-editor.elEnvironment & Version information
Emacs version
GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0) of 2021-12-20
Operating system
Gentoo Linux.
I can also reproduce this issue on Centos 7.8 and macOS.