show keybindings in the mode description #71

Closed
wants to merge 1 commit into from
+1 −1
View
2 js2-mode.el
@@ -10430,7 +10430,7 @@ If so, we don't ever want to use bounce-indent."
;;;###autoload
(defun js2-mode ()
- "Major mode for editing JavaScript code."
+ "Major mode for editing JavaScript code.\n\n\\{js2-mode-map}"
(interactive)
(kill-all-local-variables)
(set-syntax-table js2-mode-syntax-table)