I want to set a variable to a function that is run every time the variable is used. Like Lazy set in a makefile
(setq counter 0)
(setq counter (+ 1 counter))
counter ; actual: 1 wanted: 1
counter ; ...
Should I use custom-set-variables (as opposed to setq) when setting a variable that returns non-nil for custom-variable-p but was not defined by defcustom?
For example, echo-keystrokes is defined in ...