diff options
| author | Juanma Barranquero | 2007-01-14 03:22:45 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2007-01-14 03:22:45 +0000 |
| commit | c796a0b64d1a5ec876d0247cf72e83160892758a (patch) | |
| tree | a695aafe941bd250f5198afa3c72b687fabc58d4 | |
| parent | 7cb0c23ba48854131f9f260d11827600ebd0e3f6 (diff) | |
| download | emacs-c796a0b64d1a5ec876d0247cf72e83160892758a.tar.gz emacs-c796a0b64d1a5ec876d0247cf72e83160892758a.zip | |
(kmacro-insert-counter, kmacro-set-counter,
kmacro-start-macro-or-insert-counter, kmacro-step-edit-prefix-commands):
Fix typos in docstrings.
(kmacro-call-ring-2nd, kmacro-call-ring-2nd-repeat): Doc fixes.
| -rw-r--r-- | lisp/ChangeLog | 13 | ||||
| -rw-r--r-- | lisp/kmacro.el | 15 |
2 files changed, 19 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 513d4419601..d7a40135090 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,7 +1,16 @@ | |||
| 1 | 2007-01-14 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * kmacro.el (kmacro-insert-counter, kmacro-set-counter) | ||
| 4 | (kmacro-start-macro-or-insert-counter) | ||
| 5 | (kmacro-step-edit-prefix-commands): Fix typos in docstrings. | ||
| 6 | (kmacro-call-ring-2nd, kmacro-call-ring-2nd-repeat): Doc fixes. | ||
| 7 | |||
| 8 | * emulation/keypad.el (keypad-setup): Fix typos in docstring. | ||
| 9 | |||
| 1 | 2007-01-13 Mathias Dahl <mathias.dahl@gmail.com> | 10 | 2007-01-13 Mathias Dahl <mathias.dahl@gmail.com> |
| 2 | 11 | ||
| 3 | * tumme.el (tumme-cmd-rotate-original-options): Add -outfile | 12 | * tumme.el (tumme-cmd-rotate-original-options): Add -outfile |
| 4 | option. Remove redirect character ">". | 13 | option. Remove redirect character ">". |
| 5 | 14 | ||
| 6 | 2007-01-13 Juanma Barranquero <lekktu@gmail.com> | 15 | 2007-01-13 Juanma Barranquero <lekktu@gmail.com> |
| 7 | 16 | ||
| @@ -26,7 +35,7 @@ | |||
| 26 | 35 | ||
| 27 | * hexl.el (hexlify-buffer, dehexlify-buffer): Don't complain and don't | 36 | * hexl.el (hexlify-buffer, dehexlify-buffer): Don't complain and don't |
| 28 | activate undo when undo is not active. | 37 | activate undo when undo is not active. |
| 29 | Reported by Chris <christopher.ian.moore@gmail.com>. | 38 | Reported by Chris Moore <christopher.ian.moore@gmail.com>. |
| 30 | 39 | ||
| 31 | 2007-01-10 Stefan Monnier <monnier@iro.umontreal.ca> | 40 | 2007-01-10 Stefan Monnier <monnier@iro.umontreal.ca> |
| 32 | 41 | ||
diff --git a/lisp/kmacro.el b/lisp/kmacro.el index 19e8735de48..bfc0edba2c1 100644 --- a/lisp/kmacro.el +++ b/lisp/kmacro.el | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | ;;; kmacro.el --- enhanced keyboard macros | 1 | ;;; kmacro.el --- enhanced keyboard macros |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2002, 2003, 2004, 2005, 2006, |
| 4 | ;; 2007 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | ;; Author: Kim F. Storm <storm@cua.dk> | 6 | ;; Author: Kim F. Storm <storm@cua.dk> |
| 6 | ;; Keywords: keyboard convenience | 7 | ;; Keywords: keyboard convenience |
| @@ -255,7 +256,7 @@ macro to be executed before appending to it." | |||
| 255 | 256 | ||
| 256 | (defun kmacro-insert-counter (arg) | 257 | (defun kmacro-insert-counter (arg) |
| 257 | "Insert macro counter and increment with ARG or 1 if missing. | 258 | "Insert macro counter and increment with ARG or 1 if missing. |
| 258 | With \\[universal-argument], insert previous kmacro-counter (but do not modify counter)." | 259 | With \\[universal-argument], insert previous `kmacro-counter' (but do not modify counter)." |
| 259 | (interactive "P") | 260 | (interactive "P") |
| 260 | (if kmacro-initial-counter-value | 261 | (if kmacro-initial-counter-value |
| 261 | (setq kmacro-counter kmacro-initial-counter-value | 262 | (setq kmacro-counter kmacro-initial-counter-value |
| @@ -283,7 +284,7 @@ With \\[universal-argument], insert previous kmacro-counter (but do not modify c | |||
| 283 | 284 | ||
| 284 | 285 | ||
| 285 | (defun kmacro-set-counter (arg) | 286 | (defun kmacro-set-counter (arg) |
| 286 | "Set kmacro-counter to ARG or prompt if missing. | 287 | "Set `kmacro-counter' to ARG or prompt if missing. |
| 287 | With \\[universal-argument] prefix, reset counter to its value prior to this iteration of the macro." | 288 | With \\[universal-argument] prefix, reset counter to its value prior to this iteration of the macro." |
| 288 | (interactive "NMacro counter value: ") | 289 | (interactive "NMacro counter value: ") |
| 289 | (if (not (or defining-kbd-macro executing-kbd-macro)) | 290 | (if (not (or defining-kbd-macro executing-kbd-macro)) |
| @@ -453,14 +454,14 @@ Optional arg EMPTY is message to print if no macros are defined." | |||
| 453 | 454 | ||
| 454 | 455 | ||
| 455 | (defun kmacro-call-ring-2nd (arg) | 456 | (defun kmacro-call-ring-2nd (arg) |
| 456 | "Execute second keyboard macro at in macro ring." | 457 | "Execute second keyboard macro in macro ring." |
| 457 | (interactive "P") | 458 | (interactive "P") |
| 458 | (unless (kmacro-ring-empty-p) | 459 | (unless (kmacro-ring-empty-p) |
| 459 | (kmacro-exec-ring-item (car kmacro-ring) arg))) | 460 | (kmacro-exec-ring-item (car kmacro-ring) arg))) |
| 460 | 461 | ||
| 461 | 462 | ||
| 462 | (defun kmacro-call-ring-2nd-repeat (arg) | 463 | (defun kmacro-call-ring-2nd-repeat (arg) |
| 463 | "Execute second keyboard macro at in macro ring. | 464 | "Execute second keyboard macro in macro ring. |
| 464 | This is like `kmacro-call-ring-2nd', but allows repeating macro commands | 465 | This is like `kmacro-call-ring-2nd', but allows repeating macro commands |
| 465 | without repeating the prefix." | 466 | without repeating the prefix." |
| 466 | (interactive "P") | 467 | (interactive "P") |
| @@ -670,7 +671,7 @@ the current value of `kmacro-counter'). | |||
| 670 | 671 | ||
| 671 | When defining/executing macro, inserts macro counter and increments | 672 | When defining/executing macro, inserts macro counter and increments |
| 672 | the counter with ARG or 1 if missing. With \\[universal-argument], | 673 | the counter with ARG or 1 if missing. With \\[universal-argument], |
| 673 | inserts previous kmacro-counter (but do not modify counter). | 674 | inserts previous `kmacro-counter' (but do not modify counter). |
| 674 | 675 | ||
| 675 | The macro counter can be modified via \\[kmacro-set-counter] and \\[kmacro-add-counter]. | 676 | The macro counter can be modified via \\[kmacro-set-counter] and \\[kmacro-add-counter]. |
| 676 | The format of the counter can be modified via \\[kmacro-set-format]." | 677 | The format of the counter can be modified via \\[kmacro-set-format]." |
| @@ -941,7 +942,7 @@ following additional answers: `insert', `insert-1', `replace', `replace-1', | |||
| 941 | (defvar kmacro-step-edit-prefix-commands | 942 | (defvar kmacro-step-edit-prefix-commands |
| 942 | '(universal-argument universal-argument-more universal-argument-minus | 943 | '(universal-argument universal-argument-more universal-argument-minus |
| 943 | digit-argument negative-argument) | 944 | digit-argument negative-argument) |
| 944 | "Commands which builds up a prefix arg for the current command") | 945 | "Commands which build up a prefix arg for the current command.") |
| 945 | 946 | ||
| 946 | (defun kmacro-step-edit-prompt (macro index) | 947 | (defun kmacro-step-edit-prompt (macro index) |
| 947 | ;; Show step-edit prompt | 948 | ;; Show step-edit prompt |