diff options
author | Ivy Foster <joyfulgirl@archlinux.us> | 2011-10-29 12:35:04 -0400 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2011-12-16 17:17:30 -0400 |
commit | db352df09e92171293eacf159342cd950ae596d0 (patch) | |
tree | 46f15a8b86453497c8db8da9af95bda89840c65e /emacs/notmuch-hello.el | |
parent | 3f02ba340688c171bb853b62b130e301e5de7837 (diff) |
emacs: Add notmuch-hello-mode-hook
Functions called after entering `notmuch-hello-mode'
Diffstat (limited to 'emacs/notmuch-hello.el')
-rw-r--r-- | emacs/notmuch-hello.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el index 0582cae7..ca3a3813 100644 --- a/emacs/notmuch-hello.el +++ b/emacs/notmuch-hello.el @@ -138,6 +138,11 @@ Typically \",\" in the US and UK and \".\" in Europe." :group 'notmuch :type 'string) +(defcustom notmuch-hello-mode-hook nil + "Functions called after entering `notmuch-hello-mode'." + :group 'notmuch + :type 'hook) + (defvar notmuch-hello-url "http://notmuchmail.org" "The `notmuch' web site.") @@ -355,6 +360,7 @@ Complete list of currently available key bindings: (use-local-map notmuch-hello-mode-map) (setq major-mode 'notmuch-hello-mode mode-name "notmuch-hello") + (run-mode-hooks 'notmuch-hello-mode-hook) ;;(setq buffer-read-only t) ) |