diff options
| author | Dave Love | 1999-10-14 11:03:39 +0000 |
|---|---|---|
| committer | Dave Love | 1999-10-14 11:03:39 +0000 |
| commit | 2bf6fa4b52f20cf468091cc1d062e37604a07efc (patch) | |
| tree | c2341040d258c578e83a12768e517033a5892e10 | |
| parent | 01f0566b7345010f660e44125a1a21d3bfc05041 (diff) | |
| download | emacs-2bf6fa4b52f20cf468091cc1d062e37604a07efc.tar.gz emacs-2bf6fa4b52f20cf468091cc1d062e37604a07efc.zip | |
(handle_fontified_prop): GCPRO pos.
| -rw-r--r-- | src/xdisp.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) | |||
| 1784 | { | 1784 | { |
| 1785 | Lisp_Object prop, pos; | 1785 | Lisp_Object prop, pos; |
| 1786 | enum prop_handled handled = HANDLED_NORMALLY; | 1786 | enum prop_handled handled = HANDLED_NORMALLY; |
| 1787 | struct gcpro gcpro1; | ||
| 1787 | 1788 | ||
| 1788 | /* Get the value of the `fontified' property at IT's current buffer | 1789 | /* Get the value of the `fontified' property at IT's current buffer |
| 1789 | position. (The `fontified' property doesn't have a special | 1790 | position. (The `fontified' property doesn't have a special |
| @@ -1798,6 +1799,7 @@ handle_fontified_prop (it) | |||
| 1798 | { | 1799 | { |
| 1799 | Lisp_Object args[2]; | 1800 | Lisp_Object args[2]; |
| 1800 | 1801 | ||
| 1802 | GCPRO1 (pos); | ||
| 1801 | /* Run the hook functions. */ | 1803 | /* Run the hook functions. */ |
| 1802 | args[0] = Qfontification_functions; | 1804 | args[0] = Qfontification_functions; |
| 1803 | args[1] = pos; | 1805 | args[1] = pos; |
| @@ -1808,6 +1810,7 @@ handle_fontified_prop (it) | |||
| 1808 | fontify the text for which reason ever. */ | 1810 | fontify the text for which reason ever. */ |
| 1809 | if (!NILP (Fget_char_property (pos, Qfontified, Qnil))) | 1811 | if (!NILP (Fget_char_property (pos, Qfontified, Qnil))) |
| 1810 | handled = HANDLED_RECOMPUTE_PROPS; | 1812 | handled = HANDLED_RECOMPUTE_PROPS; |
| 1813 | UNGCPRO; | ||
| 1811 | } | 1814 | } |
| 1812 | 1815 | ||
| 1813 | return handled; | 1816 | return handled; |