aboutsummaryrefslogtreecommitdiffstats
path: root/src/macros.c
diff options
context:
space:
mode:
authorPavel Janík2001-12-11 06:23:50 +0000
committerPavel Janík2001-12-11 06:23:50 +0000
commit70da46c31cfe29505f9e2cb6f3ef44dc260b3898 (patch)
tree5ff292f6030474f94251450300bc48b974e94394 /src/macros.c
parent3ab8acb9c0ae86cf549a7a03c029c279172c6e67 (diff)
downloademacs-70da46c31cfe29505f9e2cb6f3ef44dc260b3898.tar.gz
emacs-70da46c31cfe29505f9e2cb6f3ef44dc260b3898.zip
Change doc-string comments to `new style' [w/`doc:' keyword].
Diffstat (limited to 'src/macros.c')
-rw-r--r--src/macros.c74
1 files changed, 37 insertions, 37 deletions
diff --git a/src/macros.c b/src/macros.c
index 4bacf789780..82e305f8df3 100644
--- a/src/macros.c
+++ b/src/macros.c
@@ -56,13 +56,13 @@ extern Lisp_Object real_this_command;
56Lisp_Object Fexecute_kbd_macro (); 56Lisp_Object Fexecute_kbd_macro ();
57 57
58DEFUN ("start-kbd-macro", Fstart_kbd_macro, Sstart_kbd_macro, 1, 1, "P", 58DEFUN ("start-kbd-macro", Fstart_kbd_macro, Sstart_kbd_macro, 1, 1, "P",
59 "Record subsequent keyboard input, defining a keyboard macro.\n\ 59 doc: /* Record subsequent keyboard input, defining a keyboard macro.
60The commands are recorded even as they are executed.\n\ 60The commands are recorded even as they are executed.
61Use \\[end-kbd-macro] to finish recording and make the macro available.\n\ 61Use \\[end-kbd-macro] to finish recording and make the macro available.
62Use \\[name-last-kbd-macro] to give it a permanent name.\n\ 62Use \\[name-last-kbd-macro] to give it a permanent name.
63Non-nil arg (prefix arg) means append to last macro defined;\n\ 63Non-nil arg (prefix arg) means append to last macro defined;
64this begins by re-executing that macro as if you typed it again.") 64this begins by re-executing that macro as if you typed it again. */)
65 (append) 65 (append)
66 Lisp_Object append; 66 Lisp_Object append;
67{ 67{
68 if (!NILP (current_kboard->defining_kbd_macro)) 68 if (!NILP (current_kboard->defining_kbd_macro))
@@ -129,16 +129,16 @@ this begins by re-executing that macro as if you typed it again.")
129} 129}
130 130
131DEFUN ("end-kbd-macro", Fend_kbd_macro, Send_kbd_macro, 0, 1, "p", 131DEFUN ("end-kbd-macro", Fend_kbd_macro, Send_kbd_macro, 0, 1, "p",
132 "Finish defining a keyboard macro.\n\ 132 doc: /* Finish defining a keyboard macro.
133The definition was started by \\[start-kbd-macro].\n\ 133The definition was started by \\[start-kbd-macro].
134The macro is now available for use via \\[call-last-kbd-macro],\n\ 134The macro is now available for use via \\[call-last-kbd-macro],
135or it can be given a name with \\[name-last-kbd-macro] and then invoked\n\ 135or it can be given a name with \\[name-last-kbd-macro] and then invoked
136under that name.\n\ 136under that name.
137\n\ 137
138With numeric arg, repeat macro now that many times,\n\ 138With numeric arg, repeat macro now that many times,
139counting the definition just completed as the first repetition.\n\ 139counting the definition just completed as the first repetition.
140An argument of zero means repeat until error.") 140An argument of zero means repeat until error. */)
141 (repeat) 141 (repeat)
142 Lisp_Object repeat; 142 Lisp_Object repeat;
143{ 143{
144 if (NILP (current_kboard->defining_kbd_macro)) 144 if (NILP (current_kboard->defining_kbd_macro))
@@ -210,8 +210,8 @@ finalize_kbd_macro_chars ()
210 210
211DEFUN ("cancel-kbd-macro-events", Fcancel_kbd_macro_events, 211DEFUN ("cancel-kbd-macro-events", Fcancel_kbd_macro_events,
212 Scancel_kbd_macro_events, 0, 0, 0, 212 Scancel_kbd_macro_events, 0, 0, 0,
213 "Cancel the events added to a keyboard macro for this command.") 213 doc: /* Cancel the events added to a keyboard macro for this command. */)
214 () 214 ()
215{ 215{
216 current_kboard->kbd_macro_ptr = current_kboard->kbd_macro_end; 216 current_kboard->kbd_macro_ptr = current_kboard->kbd_macro_end;
217 return Qnil; 217 return Qnil;
@@ -219,8 +219,8 @@ DEFUN ("cancel-kbd-macro-events", Fcancel_kbd_macro_events,
219 219
220DEFUN ("store-kbd-macro-event", Fstore_kbd_macro_event, 220DEFUN ("store-kbd-macro-event", Fstore_kbd_macro_event,
221 Sstore_kbd_macro_event, 1, 1, 0, 221 Sstore_kbd_macro_event, 1, 1, 0,
222 "Store EVENT into the keyboard macro being defined.") 222 doc: /* Store EVENT into the keyboard macro being defined. */)
223 (event) 223 (event)
224 Lisp_Object event; 224 Lisp_Object event;
225{ 225{
226 store_kbd_macro_char (event); 226 store_kbd_macro_char (event);
@@ -228,14 +228,14 @@ DEFUN ("store-kbd-macro-event", Fstore_kbd_macro_event,
228} 228}
229 229
230DEFUN ("call-last-kbd-macro", Fcall_last_kbd_macro, Scall_last_kbd_macro, 230DEFUN ("call-last-kbd-macro", Fcall_last_kbd_macro, Scall_last_kbd_macro,
231 0, 1, "p", 231 0, 1, "p",
232 "Call the last keyboard macro that you defined with \\[start-kbd-macro].\n\ 232 doc: /* Call the last keyboard macro that you defined with \\[start-kbd-macro].
233\n\ 233
234A prefix argument serves as a repeat count. Zero means repeat until error.\n\ 234A prefix argument serves as a repeat count. Zero means repeat until error.
235\n\ 235
236To make a macro permanent so you can call it even after\n\ 236To make a macro permanent so you can call it even after
237defining others, use \\[name-last-kbd-macro].") 237defining others, use \\[name-last-kbd-macro]. */)
238 (prefix) 238 (prefix)
239 Lisp_Object prefix; 239 Lisp_Object prefix;
240{ 240{
241 /* Don't interfere with recognition of the previous command 241 /* Don't interfere with recognition of the previous command
@@ -276,10 +276,10 @@ pop_kbd_macro (info)
276} 276}
277 277
278DEFUN ("execute-kbd-macro", Fexecute_kbd_macro, Sexecute_kbd_macro, 1, 2, 0, 278DEFUN ("execute-kbd-macro", Fexecute_kbd_macro, Sexecute_kbd_macro, 1, 2, 0,
279 "Execute MACRO as string of editor command characters.\n\ 279 doc: /* Execute MACRO as string of editor command characters.
280If MACRO is a symbol, its function definition is used.\n\ 280If MACRO is a symbol, its function definition is used.
281COUNT is a repeat count, or nil for once, or 0 for infinite loop.") 281COUNT is a repeat count, or nil for once, or 0 for infinite loop. */)
282 (macro, count) 282 (macro, count)
283 Lisp_Object macro, count; 283 Lisp_Object macro, count;
284{ 284{
285 Lisp_Object final; 285 Lisp_Object final;
@@ -354,14 +354,14 @@ syms_of_macros ()
354 defsubr (&Sstore_kbd_macro_event); 354 defsubr (&Sstore_kbd_macro_event);
355 355
356 DEFVAR_KBOARD ("defining-kbd-macro", defining_kbd_macro, 356 DEFVAR_KBOARD ("defining-kbd-macro", defining_kbd_macro,
357 "Non-nil while a keyboard macro is being defined. Don't set this!"); 357 doc: /* Non-nil while a keyboard macro is being defined. Don't set this! */);
358 358
359 DEFVAR_LISP ("executing-macro", &Vexecuting_macro, 359 DEFVAR_LISP ("executing-macro", &Vexecuting_macro,
360 "Currently executing keyboard macro (string or vector); nil if none executing."); 360 doc: /* Currently executing keyboard macro (string or vector); nil if none executing. */);
361 361
362 DEFVAR_LISP_NOPRO ("executing-kbd-macro", &Vexecuting_macro, 362 DEFVAR_LISP_NOPRO ("executing-kbd-macro", &Vexecuting_macro,
363 "Currently executing keyboard macro (string or vector); nil if none executing."); 363 doc: /* Currently executing keyboard macro (string or vector); nil if none executing. */);
364 364
365 DEFVAR_KBOARD ("last-kbd-macro", Vlast_kbd_macro, 365 DEFVAR_KBOARD ("last-kbd-macro", Vlast_kbd_macro,
366 "Last kbd macro defined, as a string or vector; nil if none defined."); 366 doc: /* Last kbd macro defined, as a string or vector; nil if none defined. */);
367} 367}