Fix defvar equivalent expression.
This commit is contained in:
parent
113613ea44
commit
25ef19c5f4
1 changed files with 2 additions and 1 deletions
|
@ -484,7 +484,8 @@ Here is an equivalent expression for the @code{defvar} special form:
|
|||
(progn
|
||||
(if (not (boundp '@var{symbol}))
|
||||
(setq @var{symbol} @var{value}))
|
||||
(put '@var{symbol} 'variable-documentation '@var{doc-string})
|
||||
(if '@var{doc-string}
|
||||
(put '@var{symbol} 'variable-documentation '@var{doc-string}))
|
||||
'@var{symbol})
|
||||
@end group
|
||||
@end example
|
||||
|
|
Loading…
Add table
Reference in a new issue