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:
parent
113613ea44
commit
25ef19c5f4
@ -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…
Reference in New Issue
Block a user