]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - binutils/dwarf-mode.el
Bind keys in dwarf-mode-map definition
authorTom Tromey <tom@tromey.com>
Fri, 6 Oct 2017 19:18:31 +0000 (13:18 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 10 Oct 2017 19:01:42 +0000 (13:01 -0600)
commit22b63797983f485041a2a424e6cd7732f4318885
treed3bd132ac6efadad41ec0182309d4948a031c37f
parent65630365f7d073430e62b4fe65f34dcdc0a4b05e
Bind keys in dwarf-mode-map definition

It's bad Emacs style to define keys from a top-level form.  Instead, one
should define a mode map separately and binding keys in the definition.
This lets users completely override the map by defining it before
loading the mode.

2017-10-10  Tom Tromey  <tom@tromey.com>

* dwarf-mode.el (dwarf-mode-map): New defvar.
binutils/ChangeLog
binutils/dwarf-mode.el