diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2014-02-09 22:51:32 -0800 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2014-02-09 22:51:32 -0800 |
commit | 87c79dcb464250600234aa17f941d81f8028d9c3 (patch) | |
tree | 70ab17827e1dd0f59d11dd3936dbdd90d37658ca /lisp/kmacro.el | |
parent | 3ab49e2cb045fbcf903b50dceebec165c2c5b7bd (diff) | |
download | emacs-87c79dcb464250600234aa17f941d81f8028d9c3.tar.gz |
* kmacro.el (kmacro-bind-to-key): Say that the parameter is unused.
Fixes: debbugs:14197
Diffstat (limited to 'lisp/kmacro.el')
-rw-r--r-- | lisp/kmacro.el | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/lisp/kmacro.el b/lisp/kmacro.el index 6f52c7cfb4a..1cdc2e3cab8 100644 --- a/lisp/kmacro.el +++ b/lisp/kmacro.el @@ -483,7 +483,8 @@ without repeating the prefix." (defun kmacro-cycle-ring-next (&optional _arg) "Move to next keyboard macro in keyboard macro ring. -Displays the selected macro in the echo area." +Displays the selected macro in the echo area. +The ARG parameter is unused." (interactive) (unless (kmacro-ring-empty-p) (kmacro-push-ring) @@ -502,7 +503,8 @@ Displays the selected macro in the echo area." (defun kmacro-cycle-ring-previous (&optional _arg) "Move to previous keyboard macro in keyboard macro ring. -Displays the selected macro in the echo area." +Displays the selected macro in the echo area. +The ARG parameter is unused." (interactive) (unless (kmacro-ring-empty-p) (let ((keys (kmacro-get-repeat-prefix)) @@ -529,7 +531,8 @@ Displays the selected macro in the echo area." (defun kmacro-delete-ring-head (&optional _arg) - "Delete current macro from keyboard macro ring." + "Delete current macro from keyboard macro ring. +The ARG parameter is unused." (interactive) (unless (kmacro-ring-empty-p t) (if (null kmacro-ring) @@ -793,7 +796,8 @@ You can bind to any valid key sequence, but if you try to bind to a key with an existing command binding, you will be asked for confirmation whether to replace that binding. Note that the binding is made in the `global-map' keymap, so the macro binding -may be shaded by a local key binding." +may be shaded by a local key binding. +The ARG parameter is unused." (interactive "p") (if (or defining-kbd-macro executing-kbd-macro) (if defining-kbd-macro @@ -865,7 +869,8 @@ Interactively, reads the register using `register-read-with-preview'." (defun kmacro-view-macro (&optional _arg) "Display the last keyboard macro. -If repeated, it shows previous elements in the macro ring." +If repeated, it shows previous elements in the macro ring. +The ARG parameter is unused." (interactive) (cond ((or (kmacro-ring-empty-p) |