mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
emacs: Add notmuch-hello-mode-hook
Functions called after entering `notmuch-hello-mode'
This commit is contained in:
parent
3f02ba3406
commit
db352df09e
1 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue