aboutsummaryrefslogtreecommitdiffstats
path: root/src/macros.c
diff options
context:
space:
mode:
authorGlenn Morris2011-01-19 22:10:05 -0800
committerGlenn Morris2011-01-19 22:10:05 -0800
commitbb1c6663330a318d86e64bf6ec87baf69d486958 (patch)
treebc06a3733763d87e01d6c493eae51b8ef10b6b26 /src/macros.c
parent130e4a5d84e273dd730f1d25984f6d9a9707bd00 (diff)
downloademacs-bb1c6663330a318d86e64bf6ec87baf69d486958.tar.gz
emacs-bb1c6663330a318d86e64bf6ec87baf69d486958.zip
Give kbd-macro-termination-hook a doc.
* src/macros.c (syms_of_macros) <kbd-macro-termination-hook>: Give it a doc string. * src/globals.h: Add Vkbd_macro_termination_hook.
Diffstat (limited to 'src/macros.c')
-rw-r--r--src/macros.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/macros.c b/src/macros.c
index 35ff5552466..62400bc3ea0 100644
--- a/src/macros.c
+++ b/src/macros.c
@@ -1,6 +1,7 @@
1/* Keyboard macros. 1/* Keyboard macros.
2 Copyright (C) 1985, 1986, 1993, 2000, 2001, 2002, 2003, 2004, 2
3 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. 3Copyright (C) 1985, 1986, 1993, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
4 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
4 5
5This file is part of GNU Emacs. 6This file is part of GNU Emacs.
6 7
@@ -361,6 +362,11 @@ syms_of_macros (void)
361{ 362{
362 Qexecute_kbd_macro = intern_c_string ("execute-kbd-macro"); 363 Qexecute_kbd_macro = intern_c_string ("execute-kbd-macro");
363 staticpro (&Qexecute_kbd_macro); 364 staticpro (&Qexecute_kbd_macro);
365
366 DEFVAR_LISP ("kbd-macro-termination-hook", Vkbd_macro_termination_hook,
367 doc: /* Normal hook run whenever a keyboard macro terminates.
368This is run whether the macro ends normally or prematurely due to an error. */);
369 Vkbd_macro_termination_hook = Qnil;
364 Qkbd_macro_termination_hook = intern_c_string ("kbd-macro-termination-hook"); 370 Qkbd_macro_termination_hook = intern_c_string ("kbd-macro-termination-hook");
365 staticpro (&Qkbd_macro_termination_hook); 371 staticpro (&Qkbd_macro_termination_hook);
366 372