diff options
| author | Andreas Schwab | 1997-11-21 13:03:55 +0000 |
|---|---|---|
| committer | Andreas Schwab | 1997-11-21 13:03:55 +0000 |
| commit | c3fd8dd5523f6a823fe79e4222c3073a17eb96dc (patch) | |
| tree | 13c022641f5d8da3f38076a8b2f883c9d782788f /src | |
| parent | d5b28a9d9b028ba9d35ef1f2aa96b524d980dfdf (diff) | |
| download | emacs-c3fd8dd5523f6a823fe79e4222c3073a17eb96dc.tar.gz emacs-c3fd8dd5523f6a823fe79e4222c3073a17eb96dc.zip | |
(store_kbd_macro_char): Define as returning nothing.
(finalize_kbd_macro_chars): Likewise.
(init_macros): Likewise.
(syms_of_macros): Likewise.
(keys_of_macros): Likewise.
Diffstat (limited to 'src')
| -rw-r--r-- | src/macros.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/macros.c b/src/macros.c index 9054fb5bfea..af902220919 100644 --- a/src/macros.c +++ b/src/macros.c | |||
| @@ -143,6 +143,7 @@ An argument of zero means repeat until error.") | |||
| 143 | 143 | ||
| 144 | /* Store character c into kbd macro being defined */ | 144 | /* Store character c into kbd macro being defined */ |
| 145 | 145 | ||
| 146 | void | ||
| 146 | store_kbd_macro_char (c) | 147 | store_kbd_macro_char (c) |
| 147 | Lisp_Object c; | 148 | Lisp_Object c; |
| 148 | { | 149 | { |
| @@ -170,6 +171,7 @@ store_kbd_macro_char (c) | |||
| 170 | /* Declare that all chars stored so far in the kbd macro being defined | 171 | /* Declare that all chars stored so far in the kbd macro being defined |
| 171 | really belong to it. This is done in between editor commands. */ | 172 | really belong to it. This is done in between editor commands. */ |
| 172 | 173 | ||
| 174 | void | ||
| 173 | finalize_kbd_macro_chars () | 175 | finalize_kbd_macro_chars () |
| 174 | { | 176 | { |
| 175 | current_kboard->kbd_macro_end = current_kboard->kbd_macro_ptr; | 177 | current_kboard->kbd_macro_end = current_kboard->kbd_macro_ptr; |
| @@ -288,12 +290,14 @@ COUNT is a repeat count, or nil for once, or 0 for infinite loop.") | |||
| 288 | return unbind_to (pdlcount, Qnil); | 290 | return unbind_to (pdlcount, Qnil); |
| 289 | } | 291 | } |
| 290 | 292 | ||
| 293 | void | ||
| 291 | init_macros () | 294 | init_macros () |
| 292 | { | 295 | { |
| 293 | Vexecuting_macro = Qnil; | 296 | Vexecuting_macro = Qnil; |
| 294 | executing_macro = Qnil; | 297 | executing_macro = Qnil; |
| 295 | } | 298 | } |
| 296 | 299 | ||
| 300 | void | ||
| 297 | syms_of_macros () | 301 | syms_of_macros () |
| 298 | { | 302 | { |
| 299 | Qexecute_kbd_macro = intern ("execute-kbd-macro"); | 303 | Qexecute_kbd_macro = intern ("execute-kbd-macro"); |
| @@ -319,6 +323,7 @@ syms_of_macros () | |||
| 319 | "Last kbd macro defined, as a string or vector; nil if none defined."); | 323 | "Last kbd macro defined, as a string or vector; nil if none defined."); |
| 320 | } | 324 | } |
| 321 | 325 | ||
| 326 | void | ||
| 322 | keys_of_macros () | 327 | keys_of_macros () |
| 323 | { | 328 | { |
| 324 | initial_define_key (control_x_map, ('e'), "call-last-kbd-macro"); | 329 | initial_define_key (control_x_map, ('e'), "call-last-kbd-macro"); |