diff options
| author | Richard M. Stallman | 2005-05-01 18:47:16 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-05-01 18:47:16 +0000 |
| commit | ce0d28589860df9c70e354cbdf0baf0ae3b6cc2a (patch) | |
| tree | 6e7003d388773a59bc43888138a1d2e0934f447a /src | |
| parent | 0aed526e95d6cd17dea0712a4542d348dcbd29b9 (diff) | |
| download | emacs-ce0d28589860df9c70e354cbdf0baf0ae3b6cc2a.tar.gz emacs-ce0d28589860df9c70e354cbdf0baf0ae3b6cc2a.zip | |
Change Vexecuting_macro to Vexecuting_kbd_macro.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index c6c7fd8c056..b9f4b7595bc 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -1186,7 +1186,7 @@ cmd_error (data) | |||
| 1186 | 1186 | ||
| 1187 | Vstandard_output = Qt; | 1187 | Vstandard_output = Qt; |
| 1188 | Vstandard_input = Qt; | 1188 | Vstandard_input = Qt; |
| 1189 | Vexecuting_macro = Qnil; | 1189 | Vexecuting_kbd_macro = Qnil; |
| 1190 | executing_macro = Qnil; | 1190 | executing_macro = Qnil; |
| 1191 | current_kboard->Vprefix_arg = Qnil; | 1191 | current_kboard->Vprefix_arg = Qnil; |
| 1192 | current_kboard->Vlast_prefix_arg = Qnil; | 1192 | current_kboard->Vlast_prefix_arg = Qnil; |
| @@ -1453,7 +1453,7 @@ command_loop_1 () | |||
| 1453 | if (NILP (Vunread_command_events) | 1453 | if (NILP (Vunread_command_events) |
| 1454 | && NILP (Vunread_input_method_events) | 1454 | && NILP (Vunread_input_method_events) |
| 1455 | && NILP (Vunread_post_input_method_events) | 1455 | && NILP (Vunread_post_input_method_events) |
| 1456 | && NILP (Vexecuting_macro) | 1456 | && NILP (Vexecuting_kbd_macro) |
| 1457 | && !NILP (sit_for (0, post_command_idle_delay, 0, 1, 1))) | 1457 | && !NILP (sit_for (0, post_command_idle_delay, 0, 1, 1))) |
| 1458 | safe_run_hooks (Qpost_command_idle_hook); | 1458 | safe_run_hooks (Qpost_command_idle_hook); |
| 1459 | } | 1459 | } |
| @@ -1582,11 +1582,11 @@ command_loop_1 () | |||
| 1582 | } | 1582 | } |
| 1583 | 1583 | ||
| 1584 | cmd = read_key_sequence_cmd; | 1584 | cmd = read_key_sequence_cmd; |
| 1585 | if (!NILP (Vexecuting_macro)) | 1585 | if (!NILP (Vexecuting_kbd_macro)) |
| 1586 | { | 1586 | { |
| 1587 | if (!NILP (Vquit_flag)) | 1587 | if (!NILP (Vquit_flag)) |
| 1588 | { | 1588 | { |
| 1589 | Vexecuting_macro = Qt; | 1589 | Vexecuting_kbd_macro = Qt; |
| 1590 | QUIT; /* Make some noise. */ | 1590 | QUIT; /* Make some noise. */ |
| 1591 | /* Will return since macro now empty. */ | 1591 | /* Will return since macro now empty. */ |
| 1592 | } | 1592 | } |
| @@ -1685,7 +1685,7 @@ command_loop_1 () | |||
| 1685 | && EQ (current_buffer->selective_display, Qnil) | 1685 | && EQ (current_buffer->selective_display, Qnil) |
| 1686 | && !detect_input_pending () | 1686 | && !detect_input_pending () |
| 1687 | && NILP (XWINDOW (selected_window)->column_number_displayed) | 1687 | && NILP (XWINDOW (selected_window)->column_number_displayed) |
| 1688 | && NILP (Vexecuting_macro)) | 1688 | && NILP (Vexecuting_kbd_macro)) |
| 1689 | direct_output_forward_char (1); | 1689 | direct_output_forward_char (1); |
| 1690 | goto directly_done; | 1690 | goto directly_done; |
| 1691 | } | 1691 | } |
| @@ -1720,7 +1720,7 @@ command_loop_1 () | |||
| 1720 | && EQ (current_buffer->selective_display, Qnil) | 1720 | && EQ (current_buffer->selective_display, Qnil) |
| 1721 | && !detect_input_pending () | 1721 | && !detect_input_pending () |
| 1722 | && NILP (XWINDOW (selected_window)->column_number_displayed) | 1722 | && NILP (XWINDOW (selected_window)->column_number_displayed) |
| 1723 | && NILP (Vexecuting_macro)) | 1723 | && NILP (Vexecuting_kbd_macro)) |
| 1724 | direct_output_forward_char (-1); | 1724 | direct_output_forward_char (-1); |
| 1725 | goto directly_done; | 1725 | goto directly_done; |
| 1726 | } | 1726 | } |
| @@ -1733,7 +1733,7 @@ command_loop_1 () | |||
| 1733 | = translate_char (Vtranslation_table_for_input, | 1733 | = translate_char (Vtranslation_table_for_input, |
| 1734 | XFASTINT (last_command_char), 0, 0, 0); | 1734 | XFASTINT (last_command_char), 0, 0, 0); |
| 1735 | int value; | 1735 | int value; |
| 1736 | if (NILP (Vexecuting_macro) | 1736 | if (NILP (Vexecuting_kbd_macro) |
| 1737 | && !EQ (minibuf_window, selected_window)) | 1737 | && !EQ (minibuf_window, selected_window)) |
| 1738 | { | 1738 | { |
| 1739 | if (!nonundocount || nonundocount >= 20) | 1739 | if (!nonundocount || nonundocount >= 20) |
| @@ -1755,7 +1755,7 @@ command_loop_1 () | |||
| 1755 | || !EQ (current_buffer->selective_display, Qnil) | 1755 | || !EQ (current_buffer->selective_display, Qnil) |
| 1756 | || detect_input_pending () | 1756 | || detect_input_pending () |
| 1757 | || !NILP (XWINDOW (selected_window)->column_number_displayed) | 1757 | || !NILP (XWINDOW (selected_window)->column_number_displayed) |
| 1758 | || !NILP (Vexecuting_macro)); | 1758 | || !NILP (Vexecuting_kbd_macro)); |
| 1759 | 1759 | ||
| 1760 | value = internal_self_insert (c, 0); | 1760 | value = internal_self_insert (c, 0); |
| 1761 | 1761 | ||
| @@ -1783,7 +1783,7 @@ command_loop_1 () | |||
| 1783 | int scount = SPECPDL_INDEX (); | 1783 | int scount = SPECPDL_INDEX (); |
| 1784 | 1784 | ||
| 1785 | if (display_hourglass_p | 1785 | if (display_hourglass_p |
| 1786 | && NILP (Vexecuting_macro)) | 1786 | && NILP (Vexecuting_kbd_macro)) |
| 1787 | { | 1787 | { |
| 1788 | record_unwind_protect (cancel_hourglass_unwind, Qnil); | 1788 | record_unwind_protect (cancel_hourglass_unwind, Qnil); |
| 1789 | start_hourglass (); | 1789 | start_hourglass (); |
| @@ -1801,7 +1801,7 @@ command_loop_1 () | |||
| 1801 | hourglass cursor anyway. | 1801 | hourglass cursor anyway. |
| 1802 | But don't cancel the hourglass within a macro | 1802 | But don't cancel the hourglass within a macro |
| 1803 | just because a command in the macro finishes. */ | 1803 | just because a command in the macro finishes. */ |
| 1804 | if (NILP (Vexecuting_macro)) | 1804 | if (NILP (Vexecuting_kbd_macro)) |
| 1805 | unbind_to (scount, Qnil); | 1805 | unbind_to (scount, Qnil); |
| 1806 | #endif | 1806 | #endif |
| 1807 | } | 1807 | } |
| @@ -1827,7 +1827,7 @@ command_loop_1 () | |||
| 1827 | if (NILP (Vunread_command_events) | 1827 | if (NILP (Vunread_command_events) |
| 1828 | && NILP (Vunread_input_method_events) | 1828 | && NILP (Vunread_input_method_events) |
| 1829 | && NILP (Vunread_post_input_method_events) | 1829 | && NILP (Vunread_post_input_method_events) |
| 1830 | && NILP (Vexecuting_macro) | 1830 | && NILP (Vexecuting_kbd_macro) |
| 1831 | && !NILP (sit_for (0, post_command_idle_delay, 0, 1, 1))) | 1831 | && !NILP (sit_for (0, post_command_idle_delay, 0, 1, 1))) |
| 1832 | safe_run_hooks (Qpost_command_idle_hook); | 1832 | safe_run_hooks (Qpost_command_idle_hook); |
| 1833 | } | 1833 | } |
| @@ -2499,7 +2499,7 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu) | |||
| 2499 | 2499 | ||
| 2500 | this_command_key_count_reset = 0; | 2500 | this_command_key_count_reset = 0; |
| 2501 | 2501 | ||
| 2502 | if (!NILP (Vexecuting_macro)) | 2502 | if (!NILP (Vexecuting_kbd_macro)) |
| 2503 | { | 2503 | { |
| 2504 | /* We set this to Qmacro; since that's not a frame, nobody will | 2504 | /* We set this to Qmacro; since that's not a frame, nobody will |
| 2505 | try to switch frames on us, and the selected window will | 2505 | try to switch frames on us, and the selected window will |
| @@ -2516,15 +2516,15 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu) | |||
| 2516 | /* Exit the macro if we are at the end. | 2516 | /* Exit the macro if we are at the end. |
| 2517 | Also, some things replace the macro with t | 2517 | Also, some things replace the macro with t |
| 2518 | to force an early exit. */ | 2518 | to force an early exit. */ |
| 2519 | if (EQ (Vexecuting_macro, Qt) | 2519 | if (EQ (Vexecuting_kbd_macro, Qt) |
| 2520 | || executing_macro_index >= XFASTINT (Flength (Vexecuting_macro))) | 2520 | || executing_macro_index >= XFASTINT (Flength (Vexecuting_kbd_macro))) |
| 2521 | { | 2521 | { |
| 2522 | XSETINT (c, -1); | 2522 | XSETINT (c, -1); |
| 2523 | goto exit; | 2523 | goto exit; |
| 2524 | } | 2524 | } |
| 2525 | 2525 | ||
| 2526 | c = Faref (Vexecuting_macro, make_number (executing_macro_index)); | 2526 | c = Faref (Vexecuting_kbd_macro, make_number (executing_macro_index)); |
| 2527 | if (STRINGP (Vexecuting_macro) | 2527 | if (STRINGP (Vexecuting_kbd_macro) |
| 2528 | && (XINT (c) & 0x80) && (XUINT (c) <= 0xff)) | 2528 | && (XINT (c) & 0x80) && (XUINT (c) <= 0xff)) |
| 2529 | XSETFASTINT (c, CHAR_META | (XINT (c) & ~0x80)); | 2529 | XSETFASTINT (c, CHAR_META | (XINT (c) & ~0x80)); |
| 2530 | 2530 | ||
| @@ -9817,7 +9817,7 @@ DEFUN ("execute-extended-command", Fexecute_extended_command, Sexecute_extended_ | |||
| 9817 | 9817 | ||
| 9818 | /* If enabled, show which key runs this command. */ | 9818 | /* If enabled, show which key runs this command. */ |
| 9819 | if (!NILP (Vsuggest_key_bindings) | 9819 | if (!NILP (Vsuggest_key_bindings) |
| 9820 | && NILP (Vexecuting_macro) | 9820 | && NILP (Vexecuting_kbd_macro) |
| 9821 | && SYMBOLP (function)) | 9821 | && SYMBOLP (function)) |
| 9822 | bindings = Fwhere_is_internal (function, Voverriding_local_map, | 9822 | bindings = Fwhere_is_internal (function, Voverriding_local_map, |
| 9823 | Qt, Qnil, Qnil); | 9823 | Qt, Qnil, Qnil); |