Need some assistance guys.
I want to write code such as:
(defcustom battery-status-function
(cond ((battery-upower-usable-p)
#'battery-upower)
....)
(defun battery-upower-usable-p ()
...)
However such code triggers error:
cond: Symbol’s function definition is void: battery-upower-usable-p
On fresh Emacs start and M-x battery RET
What is the best approach to write defcustoms with forward references to functions?
Thanks