While I'm trying to access any of the org-agenda options or commands! I always get this error
Symbol’s value as variable is void: org-priority-highest
and the list shows nothing even though I've set
The current name for the highest priority value is
org-highest-priority instead of
org-priority-highest. They changed the names in January 2020 in this commit. An alias was added for the old name, but there was a bug in the way it was done.
This bug appears to be in 9.3.6 and fixed in 9.3.7. Try updating your
This error occurred for me when using
straight.el to load various
org packages. Org being a dependency leads straight to cloning a current version of it into its local repo. Using agenda then created the same error message of
Symbol’s value as variable is void: org-priority-highest.
In my case(Emacs 27.1, Org 9.3), a simple solution was to tell
straight.el to use Emacs' standard built-in
org version instead by using the
:type built-in directive. I placed the following before declaring any other org-related packages:
(straight-use-package '(org :type built-in))