aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs/notmuch-lib.el
diff options
context:
space:
mode:
authorGravatar David Edmondson <dme@dme.org>2010-04-11 08:58:43 +0100
committerGravatar Carl Worth <cworth@cworth.org>2010-04-21 12:12:02 -0700
commite26d767897e8ab59f05808a12ac5c9c1e3c7030f (patch)
tree50a79b8fc3ad75468790744898b0a790419aac9a /emacs/notmuch-lib.el
parent55d06f3e0bc12c27879bba98153d70ea399ec737 (diff)
emacs: JSON based implementation
Re-implement notmuch-show.el using the JSON output format of the notmuch command. Most functionality is retained - HTML display is noticeably missing.
Diffstat (limited to 'emacs/notmuch-lib.el')
-rw-r--r--emacs/notmuch-lib.el11
1 files changed, 0 insertions, 11 deletions
diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el
index f4454be6..cb9be301 100644
--- a/emacs/notmuch-lib.el
+++ b/emacs/notmuch-lib.el
@@ -24,17 +24,6 @@
(defvar notmuch-command "notmuch"
"Command to run the notmuch binary.")
-(declare-function notmuch-toggle-invisible-action "notmuch" (cite-button))
-
-(define-button-type 'notmuch-button-invisibility-toggle-type
- 'action 'notmuch-toggle-invisible-action
- 'follow-link t
- 'face 'font-lock-comment-face)
-
-(define-button-type 'notmuch-button-headers-toggle-type
- 'help-echo "mouse-1, RET: Show headers"
- :supertype 'notmuch-button-invisibility-toggle-type)
-
;; XXX: This should be a generic function in emacs somewhere, not
;; here.
(defun point-invisible-p ()