Receive "Symbol's value as variable is void: kill-region" with Emacs 29.0.50
hungptit opened this issue · 3 comments
Expected behavior
Emacs can start successfully.
Actual behavior
I receive the below error message when starting Emacs 29.0.50.
Symbol's value as variable is void: kill-region
Steps to reproduce the problem
- Build the latest version of Emacs, i.e 29.0.50
- Open the new Emacs then we will see the above error message
The problem will go away if we
- Disable this line
(crux-with-region-or-line kill-region)
in the prelude-editor.el - Do not load prelude-web.el
Environment & 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.
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!