]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fdocumentation): More brainos. I need sleep.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 3 Apr 2002 18:05:07 +0000 (18:05 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 3 Apr 2002 18:05:07 +0000 (18:05 +0000)
src/doc.c

index 255631d904b90669d3e300828edd75ef42fdddbe..35640363046405845b66bf1236316e39f31094da 100644 (file)
--- a/src/doc.c
+++ b/src/doc.c
@@ -441,8 +441,8 @@ string is passed through `substitute-command-keys'.  */)
 
   /* If DOC is 0, it's typically because of a dumped file missing
      from the DOC file (bug in src/Makefile.in).  */
-  if (EQ (tem, make_number (0)))
-      tem = Qnil;
+  if (EQ (doc, make_number (0)))
+    doc = Qnil;
   if (INTEGERP (doc) || CONSP (doc))
     {
       Lisp_Object tem;
@@ -488,7 +488,7 @@ aren't strings.  */)
   
   tem = Fget (symbol, prop);
   if (EQ (tem, make_number (0)))
-      tem = Qnil;
+    tem = Qnil;
   if (INTEGERP (tem) || (CONSP (tem) && INTEGERP (XCDR (tem))))
     {
       Lisp_Object doc = tem;