I would like to have a variable, say my-info
that would have an alist attached to it. In normal programming it would look like this:
(setq my-info '((my-name . "Giuseppe Sextus-Packus") (my-email . "[email protected]") (my-phone . "39.06.4434.0147")))
However, I want to populate my-info
in a customization buffer, i.e., callable with customize-variable my-info
. Furthermore, I would like each key to be presented with a blank field to fill in the value. I know I have to declare this variable as a defcustom
but the details of offering all three keys for the user to complete with values is beyond my understanding. Are there templates out there for how to declare such a defcustom
? How could I do this?