From c643e1ec90fa88a9f052bbe2aa7845fd409b6e3a Mon Sep 17 00:00:00 2001 From: Durant Schoon Date: Mon, 24 Sep 2018 17:47:11 -0700 Subject: [PATCH] Suggest actual mode map name: solidity-mode-map Using `map` causes an error. Using `solidity-mode-map` fixes it for me. --- README.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.org b/README.org index 10e6a8b..bb6e39e 100644 --- a/README.org +++ b/README.org @@ -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