aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--notmuch-mode.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/notmuch-mode.el b/notmuch-mode.el
new file mode 100644
index 00000000..eec92044
--- /dev/null
+++ b/notmuch-mode.el
@@ -0,0 +1,7 @@
+; A mode for running notmuch within emacs
+
+(defun notmuch ()
+ "Run notmuch to display all mail with tag of 'inbox'"
+ (interactive)
+ (require 'compile)
+ (compilation-start "notmuch search tag:inbox"))