Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Receive "Symbol's value as variable is void: kill-region" with Emacs 29.0.50 #1351

Open
hungptit opened this issue Dec 21, 2021 · 3 comments
Labels

Comments

@hungptit
Copy link
Contributor

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.

@billsacks
Copy link

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.

@hungptit
Copy link
Contributor Author

hungptit commented Feb 19, 2022

@billsacks Thanks a lot for your suggestion. I have pulled a simple MR using your suggested fix here

@stale
Copy link

stale bot commented Jun 12, 2022

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!

@stale stale bot added the stale label Jun 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants