summaryrefslogtreecommitdiffhomepage
path: root/lib/net
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-09-09 03:57:21 +0100
committerjao <jao@gnu.org>2021-09-09 03:57:21 +0100
commit35d24f4590ad3576fc4be8944013448bd2e4ced0 (patch)
treeea4f2c081e060f1aea0e70192bddb61e91a72c02 /lib/net
parentaa3ca5e0f446fc06346a49b0cdd4ce1080a0d0e1 (diff)
downloadelibs-35d24f4590ad3576fc4be8944013448bd2e4ced0.tar.gz
elibs-35d24f4590ad3576fc4be8944013448bd2e4ced0.tar.bz2
jao-notmuch: notmuch-*-format-field got functions!
Diffstat (limited to 'lib/net')
-rw-r--r--lib/net/jao-notmuch.el7
1 files changed, 0 insertions, 7 deletions
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)