Skip to content

Commit c643e1e

Browse files
committed
Suggest actual mode map name: solidity-mode-map
Using `map` causes an error. Using `solidity-mode-map` fixes it for me.
1 parent b12b425 commit c643e1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.org

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ You can modify the default keybindings of the solidity mode keymap by adding
4444
a new key combination for each command you want to change. For example
4545

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

5050
** Interface with linters

0 commit comments

Comments
 (0)