;;; kmacro.el --- enhanced keyboard macros
-;; Copyright (C) 2002, 2003, 2004, 2005, 2006,
-;; 2007, 2008 Free Software Foundation, Inc.
+;; Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008
+;; Free Software Foundation, Inc.
;; Author: Kim F. Storm <storm@cua.dk>
;; Keywords: keyboard convenience
;; you can give a numeric prefix argument specifying the number of
;; times to repeat the macro. Macro execution automatically
;; terminates when point reaches the end of the buffer or if an error
-;; is signalled by ringing the bell.
+;; is signaled by ringing the bell.
;; When you define a macro with F3/F4, it is automatically added to
;; the head of the "keyboard macro ring", and F4 actually executes the
(defun kmacro-insert-counter (arg)
- "Insert macro counter and increment with ARG or 1 if missing.
-With \\[universal-argument], insert previous `kmacro-counter' (but do not modify counter)."
+ "Insert macro counter, then increment it by ARG.
+Interactively, ARG defaults to 1. With \\[universal-argument], insert
+previous `kmacro-counter', and do not modify counter."
(interactive "P")
(if kmacro-initial-counter-value
(setq kmacro-counter kmacro-initial-counter-value
keys)))
+;;;###autoload
(defun kmacro-exec-ring-item (item arg)
"Execute item ITEM from the macro ring."
;; Use counter and format specific to the macro on the ring!
(defun kmacro-edit-lossage ()
- "Edit most recent 100 keystrokes as a keyboard macro."
+ "Edit most recent 300 keystrokes as a keyboard macro."
(interactive)
(kmacro-push-ring)
(edit-kbd-macro "\C-hl"))