Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

show keybindings in the mode description #71

Closed
wants to merge 1 commit into from

2 participants

David Creswick Dmitry Gutov
David Creswick

Including the keymap in the description seems to be the convention. I usually use C-h m (describe-mode) to stumble across cool things major modes can do that I didn't know about. Quickly scanning function names is way easier than quickly scanning a whole manual.

Dmitry Gutov dgutov closed this in 6b3f092
Dmitry Gutov
Collaborator

Fair enough. The emacs24 branch already does this, though, by using define-derived-mode.

Dmitry Gutov dgutov referenced this pull request from a commit
Chris Wanstrath defunkt Use correct URL. Fixes #71 1d2aed3
Dmitry Gutov dgutov referenced this pull request from a commit
Chris Wanstrath defunkt Use correct URL. Fixes #71 06b1156
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 2, 2012
  1. David Creswick
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  js2-mode.el
2  js2-mode.el
View
@@ -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)
Something went wrong with that request. Please try again.