the variable. For instance, if you have:
@example
+@group
(defcustom my-var 1
"My var."
:type 'number
:set (lambda (var val)
(set-default var val)
(message "We set %s to %s" var val)))
+@end group
@end example
-Then the following, in addition to setting @code{my-var} to @samp{2},
+@noindent
+then the following, in addition to setting @code{my-var} to @samp{2},
will also issue a message:
@example
(setop my-var 2)
@end example
-@code{setopt} can be used on regular, non-user option variables, but
-is much less efficient than @code{setq}. The main use case for this
-macro is setting user options in the user's init file.
+The @code{setopt} macro can be used on regular, non-user option
+variables, but is much less efficient than @code{setq}. The main use
+case for this macro is setting user options in the user's init file.
@end defmac
@node Watching Variables