summaryrefslogtreecommitdiff
path: root/src/doc.c
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>1999-11-12 12:50:54 +0000
committerGerd Moellmann <gerd@gnu.org>1999-11-12 12:50:54 +0000
commitbbd7d5d3edb2da826f4e425717fe7b3d026cb13f (patch)
treeb913cd480d5141a340035159a9ea81b3d583772b /src/doc.c
parent1a4280fb4706f2b5d4f206585d88fcc924fb14a6 (diff)
downloademacs-bbd7d5d3edb2da826f4e425717fe7b3d026cb13f.tar.gz
(Fdocumentation_property): Remove GCPRO because
Fsubstitute_command_keys gcpro's the string.
Diffstat (limited to 'src/doc.c')
-rw-r--r--src/doc.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/doc.c b/src/doc.c
index 9564646c5bb..c9da13ab769 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -400,13 +400,7 @@ translation.")
else if (CONSP (tem))
tem = get_doc_string (tem, 0, 0);
if (NILP (raw) && STRINGP (tem))
- {
- struct gcpro gcpro1;
-
- GCPRO1 (tem);
- tem = Fsubstitute_command_keys (tem);
- UNGCPRO;
- }
+ tem = Fsubstitute_command_keys (tem);
return tem;
}