This PR defines a defpreference macro. Using this macro to define a variable will define an atom instead, and its value will be recorded throughout sessions, assuming initialize-preferences is called at some point.
This is an initial proposal, let me know what you think of the implementation.
In particular, there's no real need for the sp variable. I just included it in case the user wants to edit some values manually, but it could be removed.
This PR defines a
defpreference
macro. Using this macro to define a variable will define an atom instead, and its value will be recorded throughout sessions, assuminginitialize-preferences
is called at some point.This is an initial proposal, let me know what you think of the implementation. In particular, there's no real need for the
sp
variable. I just included it in case the user wants to edit some values manually, but it could be removed.