Commit 25ef19c5 authored by Richard M. Stallman's avatar Richard M. Stallman

Fix defvar equivalent expression.

parent 113613ea
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment