From 35d24f4590ad3576fc4be8944013448bd2e4ced0 Mon Sep 17 00:00:00 2001 From: jao Date: Thu, 9 Sep 2021 03:57:21 +0100 Subject: jao-notmuch: notmuch-*-format-field got functions! --- lib/net/jao-notmuch.el | 7 ------- 1 file changed, 7 deletions(-) (limited to 'lib/net') diff --git a/lib/net/jao-notmuch.el b/lib/net/jao-notmuch.el index 6039238..9a8ba5c 100644 --- a/lib/net/jao-notmuch.el +++ b/lib/net/jao-notmuch.el @@ -195,13 +195,6 @@ (setq mm-text-html-renderer #'jao-w3m-gnus-html-renderer) -;;;; Using arbitrary functions as "fields" in notmuch-tree-result-format - -(defun jao-notmuch--format-field (fun field fmt msg) - (if (symbolp field) (funcall field msg) (funcall fun field fmt msg))) - -(advice-add 'notmuch-tree-format-field :around #'jao-notmuch--format-field) - ;;;; Keeping track of unread messages in current tree view (defvar-local jao-notmuch--query-name nil) -- cgit v1.2.3