From: Dave Love Date: Thu, 14 Oct 1999 11:03:39 +0000 (+0000) Subject: (handle_fontified_prop): GCPRO pos. X-Git-Tag: emacs-pretest-21.0.90~6441 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2bf6fa4b52f20cf468091cc1d062e37604a07efc;p=emacs.git (handle_fontified_prop): GCPRO pos. --- diff --git a/src/xdisp.c b/src/xdisp.c index b940db57013..15ec41adf01 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -1784,6 +1784,7 @@ handle_fontified_prop (it) { Lisp_Object prop, pos; enum prop_handled handled = HANDLED_NORMALLY; + struct gcpro gcpro1; /* Get the value of the `fontified' property at IT's current buffer position. (The `fontified' property doesn't have a special @@ -1798,6 +1799,7 @@ handle_fontified_prop (it) { Lisp_Object args[2]; + GCPRO1 (pos); /* Run the hook functions. */ args[0] = Qfontification_functions; args[1] = pos; @@ -1808,6 +1810,7 @@ handle_fontified_prop (it) fontify the text for which reason ever. */ if (!NILP (Fget_char_property (pos, Qfontified, Qnil))) handled = HANDLED_RECOMPUTE_PROPS; + UNGCPRO; } return handled;