Mercurial > emacs
comparison src/doc.c @ 26420:00b7d6135be4
(Fdocumentation_property): Remove GCPRO because
Fsubstitute_command_keys gcpro's the string.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 12 Nov 1999 12:50:54 +0000 |
parents | fc5dd3bb9922 |
children | b1863c0b8f9c |
comparison
equal
deleted
inserted
replaced
26419:9991cb6f664a | 26420:00b7d6135be4 |
---|---|
398 if (INTEGERP (tem)) | 398 if (INTEGERP (tem)) |
399 tem = get_doc_string (XINT (tem) > 0 ? tem : make_number (- XINT (tem)), 0, 0); | 399 tem = get_doc_string (XINT (tem) > 0 ? tem : make_number (- XINT (tem)), 0, 0); |
400 else if (CONSP (tem)) | 400 else if (CONSP (tem)) |
401 tem = get_doc_string (tem, 0, 0); | 401 tem = get_doc_string (tem, 0, 0); |
402 if (NILP (raw) && STRINGP (tem)) | 402 if (NILP (raw) && STRINGP (tem)) |
403 { | 403 tem = Fsubstitute_command_keys (tem); |
404 struct gcpro gcpro1; | |
405 | |
406 GCPRO1 (tem); | |
407 tem = Fsubstitute_command_keys (tem); | |
408 UNGCPRO; | |
409 } | |
410 return tem; | 404 return tem; |
411 } | 405 } |
412 | 406 |
413 /* Scanning the DOC files and placing docstring offsets into functions. */ | 407 /* Scanning the DOC files and placing docstring offsets into functions. */ |
414 | 408 |