Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
87c79dcb
Commit
87c79dcb
authored
Feb 09, 2014
by
Lars Ingebrigtsen
Browse files
* kmacro.el (kmacro-bind-to-key): Say that the parameter is unused.
Fixes: debbugs:14197
parent
3ab49e2c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
lisp/ChangeLog
lisp/ChangeLog
+3
-0
lisp/kmacro.el
lisp/kmacro.el
+10
-5
No files found.
lisp/ChangeLog
View file @
87c79dcb
2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
* kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
(bug#14197).
* progmodes/grep.el (find-program): Doc fix (bug#14289).
* files.el (confirm-kill-emacs): Clarify doc (bug#15455).
...
...
lisp/kmacro.el
View file @
87c79dcb
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment