Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
25ef19c5
Commit
25ef19c5
authored
Aug 10, 1995
by
Richard M. Stallman
Browse files
Fix defvar equivalent expression.
parent
113613ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lispref/variables.texi
lispref/variables.texi
+2
-1
No files found.
lispref/variables.texi
View file @
25ef19c5
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment