From: Stefan Monnier Date: Wed, 3 Apr 2002 18:05:07 +0000 (+0000) Subject: (Fdocumentation): More brainos. I need sleep. X-Git-Tag: ttn-vms-21-2-B4~15790 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=71cdb109f9d953ce8ca804e4d0948ec1fc385a1e;p=emacs.git (Fdocumentation): More brainos. I need sleep. --- diff --git a/src/doc.c b/src/doc.c index 255631d904b..35640363046 100644 --- 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;