From: Noam Postavsky Date: Sat, 31 May 2014 19:03:17 +0000 (-0400) Subject: personal-keybindings: add docstring X-Git-Tag: emacs-29.0.90~1306^2~15^2~406^2~2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=91b439c8e7439466ebb26bbcf3e335ae29ef47f4;p=emacs.git personal-keybindings: add docstring fix typo in bind-key docstring --- diff --git a/lisp/use-package/bind-key.el b/lisp/use-package/bind-key.el index 0e75fd567ec..58a36eabeb7 100644 --- a/lisp/use-package/bind-key.el +++ b/lisp/use-package/bind-key.el @@ -127,12 +127,15 @@ (add-to-list 'emulation-mode-map-alists `((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) "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 spelled-out keystrokes, e.g., \"C-c C-z\". See documentation of `edmacro-mode' for details."