From: Richard M. Stallman Date: Sun, 2 Aug 1998 02:44:04 +0000 (+0000) Subject: (Fdocumentation): Specify UNIBYTE = 0 X-Git-Tag: emacs-20.3~189 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=49da2e496a3aa14f51b234a9dc5c9b2e80e40a04;p=emacs.git (Fdocumentation): Specify UNIBYTE = 0 when calling get_doc_string for a compiled function. --- diff --git a/src/doc.c b/src/doc.c index bca93b60eab..2f6b92216e2 100644 --- a/src/doc.c +++ b/src/doc.c @@ -320,7 +320,7 @@ string is passed through `substitute-command-keys'.") if (STRINGP (tem)) doc = tem; else if (NATNUMP (tem) || CONSP (tem)) - doc = get_doc_string (tem, 1, 0); + doc = get_doc_string (tem, 0, 0); else return Qnil; } @@ -348,7 +348,7 @@ subcommands.)"); in the function body, so reject them if they are last. */ else if ((NATNUMP (tem) || CONSP (tem)) && ! NILP (XCONS (tem1)->cdr)) - doc = get_doc_string (tem, 1, 0); + doc = get_doc_string (tem, 0, 0); else return Qnil; }