Skip to content

Commit

Permalink
Add keybindings to docstring so they show up in describe-mode.
Browse files Browse the repository at this point in the history
This makes the keybindings more discoverable.
  • Loading branch information
msherry committed Feb 6, 2018
1 parent ba652e4 commit de4ad6f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cargo.el
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@

;;;###autoload
(define-minor-mode cargo-minor-mode
"Cargo minor mode. Used to hold keybindings for cargo-mode"
"Cargo minor mode. Used to hold keybindings for cargo-mode.
\\{cargo-minor-mode-map}"
nil " cargo" cargo-minor-mode-map)

(define-key cargo-minor-mode-map (kbd "C-c C-c C-e") 'cargo-process-bench)
Expand Down

0 comments on commit de4ad6f

Please sign in to comment.