summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2021-07-30 14:25:54 +0300
committerDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2021-07-30 14:25:54 +0300
commit26bd64f4c9c73c21576f7bfc239a84e1b198da45 (patch)
tree230c20937f5158545ceee0fb81836191918f5ac2
parent1998505679930615a81fab5e0e306886ba14f284 (diff)
mu4e-header: mark mu4e-headers-field-properties-function obsolete
The variable is an unused leftover. Fixes: #2067.
-rw-r--r--mu4e/mu4e-headers.el14
1 files changed, 2 insertions, 12 deletions
diff --git a/mu4e/mu4e-headers.el b/mu4e/mu4e-headers.el
index 7c76a85..b545a72 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."