-
Notifications
You must be signed in to change notification settings - Fork 268
Description
I'm using Ubuntu 24.04.2 LTS with Emacs version 30.1. After following the setup instructions from the Clojure for the Brave and True book, I downloaded and installed the emacs-for-clojure-book1 configuration by moving it to ~/.emacs.d.
However, when I launch Emacs, I receive the following error during initialization:
⛔ Warning (initialization): An error occurred while loading ‘/home/xxxx/.emacs.d/init.el’:
Symbol's function definition is void: global-linum-mode
Root cause:
The error comes from the file customizations/ui.el, which includes the line:
(global-linum-mode t)
This function was removed in Emacs 29.1, and it no longer exists in Emacs 30.1 and later. As a result, the configuration fails to load properly on modern Emacs versions.
Proposed fix:
To restore compatibility with Emacs 29.1+ and 30.1, please replace:
(global-linum-mode t)
with:
(global-display-line-numbers-mode t)
Suggestion:
It would be great to update the repository to support newer versions of Emacs, or at least add a note in the README indicating that the current configuration is only compatible with Emacs versions prior to 29.1.
Thanks for this great resource — I hope this helps others using modern environments!