summaryrefslogtreecommitdiff
path: root/src/doc.c
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>1999-10-18 14:00:19 +0000
committerDave Love <fx@gnu.org>1999-10-18 14:00:19 +0000
commit54f696ea5e9b3bd6964ae35e463478f62ae1fadf (patch)
tree590d596d13839cb45e9953238f65ad457501535d /src/doc.c
parent39c76d3e7ad1dde3a7bfa0ce1b17e48c878310c0 (diff)
downloademacs-54f696ea5e9b3bd6964ae35e463478f62ae1fadf.tar.gz
(Fdocumentation_property): Gcpro `tem'.
Diffstat (limited to 'src/doc.c')
-rw-r--r--src/doc.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/doc.c b/src/doc.c
index dc52e713da4..02d0b5869b5 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -400,7 +400,13 @@ translation.")
else if (CONSP (tem))
tem = get_doc_string (tem, 0, 0);
if (NILP (raw) && STRINGP (tem))
- return Fsubstitute_command_keys (tem);
+ {
+ struct gcpro gcpro1;
+
+ GCPRO1 (tem);
+ return Fsubstitute_command_keys (tem);
+ UNGCPRO;
+ }
return tem;
}