From 26bd64f4c9c73c21576f7bfc239a84e1b198da45 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Fri, 30 Jul 2021 14:25:54 +0300 Subject: [PATCH] mu4e-header: mark mu4e-headers-field-properties-function obsolete The variable is an unused leftover. Fixes: #2067. --- mu4e/mu4e-headers.el | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/mu4e/mu4e-headers.el b/mu4e/mu4e-headers.el index 7c76a85a..b545a72f 100644 --- a/mu4e/mu4e-headers.el +++ b/mu4e/mu4e-headers.el @@ -743,18 +743,8 @@ space propertized with a 'display text property which expands to (mu4e~headers-truncate-field-precise field val width) (mu4e~headers-truncate-field-fast val width))) -(defcustom mu4e-headers-field-properties-function nil - "Function that specifies custom text properties for a header field. - -The function takes a message-plist and a field-id, and is expected to -return either nil or a property-list with text-properties to apply. - -This allows for turning the list of message headers into an angry -fruit salad. Note that this function is called for each relevant -field of each message and thus should you should be careful to -avoid slowdowns." - :type 'function - :group 'mu4e-headers) +(make-obsolete-variable 'mu4e-headers-field-properties-function + "not used" "1.6.1") (defsubst mu4e~headers-field-handler (f-w msg) "Create a description of the field of MSG described by F-W."