]> git.eshelyaron.com Git - emacs.git/commitdiff
personal-keybindings: add docstring
authorNoam Postavsky <npostavs@gmail.com>
Sat, 31 May 2014 19:03:17 +0000 (15:03 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Sat, 31 May 2014 19:03:58 +0000 (15:03 -0400)
fix typo in bind-key docstring

lisp/use-package/bind-key.el

index 0e75fd567ec2120e0d3063fccb071d76262ab83b..58a36eabeb7ce2e136a14ce23e3340ff93630bbb 100644 (file)
 (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."