mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-11 08:30:45 -08:00
personal-keybindings: add docstring
fix typo in bind-key docstring
This commit is contained in:
parent
0d0e8db731
commit
91b439c8e7
1 changed files with 5 additions and 2 deletions
|
|
@ -127,12 +127,15 @@
|
||||||
(add-to-list 'emulation-mode-map-alists
|
(add-to-list 'emulation-mode-map-alists
|
||||||
`((override-global-mode . ,override-global-map)))
|
`((override-global-mode . ,override-global-map)))
|
||||||
|
|
||||||
(defvar personal-keybindings nil)
|
(defvar personal-keybindings nil
|
||||||
|
"List of bindings performed by `bind-key'.
|
||||||
|
|
||||||
|
Elements have the form ((KEY . [MAP]) CMD ORIGINAL-CMD)")
|
||||||
|
|
||||||
(defmacro bind-key (key-name command &optional keymap)
|
(defmacro bind-key (key-name command &optional keymap)
|
||||||
"Bind KEY-NAME to COMMAND in KEYMAP (`global-map' if not passed).
|
"Bind KEY-NAME to COMMAND in KEYMAP (`global-map' if not passed).
|
||||||
|
|
||||||
KEY-NAME may be a vector, in which case it passed straight to
|
KEY-NAME may be a vector, in which case it is passed straight to
|
||||||
`define-key'. Or it may be a string to be interpreted as
|
`define-key'. Or it may be a string to be interpreted as
|
||||||
spelled-out keystrokes, e.g., \"C-c C-z\". See documentation of
|
spelled-out keystrokes, e.g., \"C-c C-z\". See documentation of
|
||||||
`edmacro-mode' for details."
|
`edmacro-mode' for details."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue