aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/emacs/erlang-start.el
diff options
context:
space:
mode:
authorMagnus Henoch <[email protected]>2010-05-20 21:54:51 +0100
committerRaimo Niskanen <[email protected]>2010-05-24 15:57:27 +0200
commitb3787b093463de700804b36372533a17ea115105 (patch)
tree8abbfecef9e503ed1e95f9f2f92d283b1959fefe /lib/tools/emacs/erlang-start.el
parentc0895d14994c5e98b1171b0174c70a0244d52f86 (diff)
downloadotp-b3787b093463de700804b36372533a17ea115105.tar.gz
otp-b3787b093463de700804b36372533a17ea115105.tar.bz2
otp-b3787b093463de700804b36372533a17ea115105.zip
Set erlang-mode-map when loading erlang.el
Create and assign the erlang-mode keymap to erlang-mode-map once erlang.el is loaded, not the first time it is used. This way of doing it follows the Emacs Lisp convention described at http://www.gnu.org/software/emacs/manual/html_node/elisp/Tips-for-Defining.html and also makes it easier for users to customize the keymap. Remove the now unneeded functions erlang-keymap-init and erlang-mode-commands. Also move the definition of inferior-erlang-use-cmm, so it is available when defining erlang-mode-map.
Diffstat (limited to 'lib/tools/emacs/erlang-start.el')
0 files changed, 0 insertions, 0 deletions