# HG changeset patch # User Karl Heuer # Date 784947813 0 # Node ID 25a7e3557fd3cde03b06a5365cf79708862ffe4e # Parent 9408478469098d9f1f7379b55cca3575c2e045ff (Fdocumentation): Use NATNUMP instead of its expansion. diff -r 940847846909 -r 25a7e3557fd3 src/doc.c --- a/src/doc.c Wed Nov 16 01:00:10 1994 +0000 +++ b/src/doc.c Wed Nov 16 01:03:33 1994 +0000 @@ -166,7 +166,7 @@ tem = XVECTOR (fun)->contents[COMPILED_DOC_STRING]; if (STRINGP (tem)) doc = tem; - else if (INTEGERP (tem) && XINT (tem) >= 0) + else if (NATNUMP (tem)) doc = get_doc_string (XFASTINT (tem)); else return Qnil; @@ -189,7 +189,7 @@ tem = Fcar (Fcdr (Fcdr (fun))); if (STRINGP (tem)) doc = tem; - else if (INTEGERP (tem) && XINT (tem) >= 0) + else if (NATNUMP (tem)) doc = get_doc_string (XFASTINT (tem)); else return Qnil;