Erlang Mailing Lists

Author Message

<  Erlang patches mailing list  ~  Set erlang-mode-map when erlang.el is loaded

mhenoch
Posted: Thu May 20, 2010 8:57 pm Reply with quote
User Joined: 06 Nov 2008 Posts: 29
git fetch git://github.com/legoscia/otp.git erlang-mode-map-init

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.

--
Magnus Henoch, magnus@erlang-solutions.com
Erlang Solutions
http://www.erlang-solutions.com/
---------------------------------------------------

---------------------------------------------------

WE'VE CHANGED NAMES!

Since January 1st 2010 Erlang Training and Consulting Ltd. has become ERLANG SOLUTIONS LTD.

www.erlang-solutions.com


________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org

---------------------------------------------------

---------------------------------------------------

WE'VE CHANGED NAMES!

Since January 1st 2010 Erlang Training and Consulting Ltd. has become ERLANG SOLUTIONS LTD.

www.erlang-solutions.com

Post received from mailinglist
View user's profile Send private message
mhenoch
Posted: Thu May 20, 2010 8:57 pm Reply with quote
User Joined: 06 Nov 2008 Posts: 29
git fetch git://github.com/legoscia/otp.git erlang-mode-map-init

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.

--
Magnus Henoch, magnus@erlang-solutions.com
Erlang Solutions
http://www.erlang-solutions.com/
---------------------------------------------------

---------------------------------------------------

WE'VE CHANGED NAMES!

Since January 1st 2010 Erlang Training and Consulting Ltd. has become ERLANG SOLUTIONS LTD.

www.erlang-solutions.com


________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org

Post received from mailinglist
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum