Comparison of defcustom and defvar arguments
Heime <[email protected]>
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <288paaSkQaJnLkZnXR5LwJXUzlvuGl_Sroh6wcUdleHkK9MhVKb4XMtVdLOoujsE0AhllZzWEnUYQRQXNdTn_DZDRxyHyJhlcKR6euUkZJE=@protonmail.com> |
Looked at the decumentation of defcustom and defvar (defcustom SYMBOL STANDARD DOC &rest ARGS) defcustom accepts STANDARD to be an expression, and includes keyword declarations such as :initualize (defvar SYMBOL &optional INITVALUE DOCSTRING) On the other hand, defvar does not seem to allow INITVALUE to be an expression, and keyword declarations are not allowed. It seems to me that defvar is very restrictive.