]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-mode.el
notmuch.el: Rename from notmuch-mode.el to notmuch.el
[notmuch] / notmuch-mode.el
diff --git a/notmuch-mode.el b/notmuch-mode.el
deleted file mode 100644 (file)
index 450d456..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-; A mode for running notmuch within emacs
-
-;;;###autoload
-(defun notmuch-search-mode ()
-  "Major mode for handling the output of notmuch search"
-  (interactive)
-  (kill-all-local-variables)
-  (setq major-mode 'notmuch-search-mode
-       mode-name "notmuch-search")
-  (setq buffer-read-only t))
-
-(defun notmuch ()
-  "Run notmuch to display all mail with tag of 'inbox'"
-  (interactive)
-  (require 'compile)
-  (compilation-start "notmuch search tag:inbox" 'notmuch-search-mode))