changeset 12821:259b1abdec5f

Fix defvar equivalent expression.
author Richard M. Stallman <rms@gnu.org>
date Thu, 10 Aug 1995 20:31:27 +0000
parents 4d6c32d4f782
children 6fb78108d62d
files lispref/variables.texi
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/variables.texi	Thu Aug 10 20:25:30 1995 +0000
+++ b/lispref/variables.texi	Thu Aug 10 20:31:27 1995 +0000
@@ -484,7 +484,8 @@
 (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