emacs: use define-derived-mode for defining modes.
authorSteven Allen <steven@stebalien.com>
Sun, 28 Aug 2016 18:41:22 +0000 (14:41 -0400)
committerDavid Bremner <david@tethera.net>
Sat, 10 Sep 2016 16:07:54 +0000 (13:07 -0300)
commite954310d70674a439a50cf4c699467567095b057
treec2168b0cebcfae598ae1a93762f263e08eaabbd5
parent07dff496304d6dc2e8033a18691b095ed9cd212f
emacs: use define-derived-mode for defining modes.

This sets up and runs all the correct hooks and reduces some redundancy.
emacs/notmuch-hello.el
emacs/notmuch-show.el
emacs/notmuch-tree.el
emacs/notmuch.el