diff options
| author | Stefan Monnier | 2004-10-13 18:40:03 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2004-10-13 18:40:03 +0000 |
| commit | 91244343b5a5d459656f9eb7f7619a9811016f0c (patch) | |
| tree | fd74ccb0c68ad28d152e9ad42647dbdc17851aa4 /src | |
| parent | 9238467da9d261930ccbab57b33c9c52d86a47ba (diff) | |
| download | emacs-91244343b5a5d459656f9eb7f7619a9811016f0c.tar.gz emacs-91244343b5a5d459656f9eb7f7619a9811016f0c.zip | |
(map_char_table): Add missing gcpros.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fns.c | 9 |
1 files changed, 8 insertions, 1 deletions
| @@ -2705,6 +2705,9 @@ map_char_table (c_function, function, table, subtable, arg, depth, indices) | |||
| 2705 | int depth; | 2705 | int depth; |
| 2706 | { | 2706 | { |
| 2707 | int i, to; | 2707 | int i, to; |
| 2708 | struct gcpro gcpro1, gcpro2, gcpro3, gcpro4; | ||
| 2709 | |||
| 2710 | GCPRO4 (arg, table, subtable, function); | ||
| 2708 | 2711 | ||
| 2709 | if (depth == 0) | 2712 | if (depth == 0) |
| 2710 | { | 2713 | { |
| @@ -2724,7 +2727,10 @@ map_char_table (c_function, function, table, subtable, arg, depth, indices) | |||
| 2724 | #if 0 /* If the char table has entries for higher characters, | 2727 | #if 0 /* If the char table has entries for higher characters, |
| 2725 | we should report them. */ | 2728 | we should report them. */ |
| 2726 | if (NILP (current_buffer->enable_multibyte_characters)) | 2729 | if (NILP (current_buffer->enable_multibyte_characters)) |
| 2727 | return; | 2730 | { |
| 2731 | UNGCPRO; | ||
| 2732 | return; | ||
| 2733 | } | ||
| 2728 | #endif | 2734 | #endif |
| 2729 | to = CHAR_TABLE_ORDINARY_SLOTS; | 2735 | to = CHAR_TABLE_ORDINARY_SLOTS; |
| 2730 | } | 2736 | } |
| @@ -2777,6 +2783,7 @@ map_char_table (c_function, function, table, subtable, arg, depth, indices) | |||
| 2777 | call2 (function, make_number (c), elt); | 2783 | call2 (function, make_number (c), elt); |
| 2778 | } | 2784 | } |
| 2779 | } | 2785 | } |
| 2786 | UNGCPRO; | ||
| 2780 | } | 2787 | } |
| 2781 | 2788 | ||
| 2782 | static void void_call2 P_ ((Lisp_Object a, Lisp_Object b, Lisp_Object c)); | 2789 | static void void_call2 P_ ((Lisp_Object a, Lisp_Object b, Lisp_Object c)); |