1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

Fix defvar equivalent expression.

This commit is contained in:
Richard M. Stallman 1995-08-10 20:31:27 +00:00
parent 113613ea44
commit 25ef19c5f4

View File

@ -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