mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
; * doc/lispref/keymaps.texi (Changing Key Bindings): Fix markup.
This commit is contained in:
parent
3b4cba3b68
commit
39e1e9c367
|
|
@ -133,14 +133,14 @@ A three key sequence of the keys @kbd{S}, @kbd{o} and @kbd{m}.
|
|||
A two key sequence of the keys @kbd{c} with the control modifier and
|
||||
then the key @kbd{o}
|
||||
|
||||
@item H-<left>
|
||||
The key named @kbd{left} with the hyper modifier.
|
||||
@item H-@key{LEFT}
|
||||
The key named @key{LEFT} with the hyper modifier.
|
||||
|
||||
@item M-RET
|
||||
The @kbd{return} key with a meta modifier.
|
||||
@item M-@key{RET}
|
||||
The @key{RET} or @key{Return} key with a meta modifier.
|
||||
|
||||
@item C-M-<space>
|
||||
The @kbd{space} key with both the control and meta modifiers.
|
||||
@item C-M-@key{SPC}
|
||||
The @key{SPC} key with both the control and meta modifiers.
|
||||
@end table
|
||||
|
||||
The only keys that have a special shorthand syntax are @kbd{NUL},
|
||||
|
|
@ -151,16 +151,12 @@ The modifiers have to be specified in alphabetical order:
|
|||
|
||||
@findex keymap-set
|
||||
@defun keymap-set keymap key binding
|
||||
This function sets the binding for @var{key} in @var{keymap}. (If
|
||||
@var{key} is more than one event long, the change is actually made
|
||||
in another keymap reached from @var{keymap}.) The argument
|
||||
@var{binding} can be any Lisp object, but only certain types are
|
||||
meaningful. (For a list of meaningful types, see @ref{Key Lookup}.)
|
||||
The value returned by @code{keymap-set} is @var{binding}.
|
||||
|
||||
If @var{key} is @kbd{<t>}, this sets the default binding in
|
||||
@var{keymap}. When an event has no binding of its own, the Emacs
|
||||
command loop uses the keymap's default binding, if there is one.
|
||||
This function sets the binding for @var{key} in @var{keymap}. The
|
||||
argument @var{key} is a string that must satisfy @code{key-valid-p}
|
||||
(@pxref{Key Sequences}). The argument @var{binding} can be any Lisp
|
||||
object, but only certain types are meaningful. (For a list of
|
||||
meaningful types, see @ref{Key Lookup}.) The value returned by
|
||||
@code{keymap-set} is @var{binding}.
|
||||
|
||||
@cindex invalid prefix key error
|
||||
@cindex key sequence error
|
||||
|
|
|
|||
Loading…
Reference in a new issue