diff options
Diffstat (limited to 'src')
| -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 4b87ffba4a9..365b172c8a4 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -297,6 +297,7 @@ message_dolog (m, len, nlflag, multibyte) | |||
| 297 | int point_at_end = 0; | 297 | int point_at_end = 0; |
| 298 | int zv_at_end = 0; | 298 | int zv_at_end = 0; |
| 299 | Lisp_Object old_deactivate_mark, tem; | 299 | Lisp_Object old_deactivate_mark, tem; |
| 300 | struct gcpro gcpro1, gcpro2, gcpro3, gcpro4; | ||
| 300 | 301 | ||
| 301 | old_deactivate_mark = Vdeactivate_mark; | 302 | old_deactivate_mark = Vdeactivate_mark; |
| 302 | oldbuf = current_buffer; | 303 | oldbuf = current_buffer; |
| @@ -306,6 +307,7 @@ message_dolog (m, len, nlflag, multibyte) | |||
| 306 | oldpoint = Fpoint_marker (); | 307 | oldpoint = Fpoint_marker (); |
| 307 | oldbegv = Fpoint_min_marker (); | 308 | oldbegv = Fpoint_min_marker (); |
| 308 | oldzv = Fpoint_max_marker (); | 309 | oldzv = Fpoint_max_marker (); |
| 310 | GCPRO4 (oldpoint, oldbegv, oldzv, old_deactivate_mark); | ||
| 309 | 311 | ||
| 310 | if (PT == Z) | 312 | if (PT == Z) |
| 311 | point_at_end = 1; | 313 | point_at_end = 1; |
| @@ -415,6 +417,7 @@ message_dolog (m, len, nlflag, multibyte) | |||
| 415 | else | 417 | else |
| 416 | Fgoto_char (oldpoint); | 418 | Fgoto_char (oldpoint); |
| 417 | 419 | ||
| 420 | UNGCPRO; | ||
| 418 | free_marker (oldpoint); | 421 | free_marker (oldpoint); |
| 419 | free_marker (oldbegv); | 422 | free_marker (oldbegv); |
| 420 | free_marker (oldzv); | 423 | free_marker (oldzv); |