Skip to content

Commit

Permalink
Suggest actual mode map name: solidity-mode-map
Browse files Browse the repository at this point in the history
Using `map` causes an error. Using `solidity-mode-map` fixes it for me.
  • Loading branch information
durantschoon committed Sep 25, 2018
1 parent b12b425 commit c643e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.org
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ You can modify the default keybindings of the solidity mode keymap by adding
a new key combination for each command you want to change. For example

#+BEGIN_SRC lisp
(define-key map (kbd "C-c C-g") 'solidity-estimate-gas-at-point)
(define-key solidity-mode-map (kbd "C-c C-g") 'solidity-estimate-gas-at-point)
#+END_SRC

** Interface with linters
Expand Down

0 comments on commit c643e1e

Please sign in to comment.