summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2022-12-08 23:18:45 +0200
committerDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2022-12-08 23:19:50 +0200
commit3b1d1edd463030fb293ccae45693db42932bf8d9 (patch)
tree6a57780c72d718aee6a6527e5c858ad42a0f36af
parent093efefb985ad06170d89a29e20bbdae38732f0a (diff)
mu4e-headers: appease byte-compiler
-rw-r--r--mu4e/mu4e-headers.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/mu4e/mu4e-headers.el b/mu4e/mu4e-headers.el
index daa321c..1eabd8c 100644
--- a/mu4e/mu4e-headers.el
+++ b/mu4e/mu4e-headers.el
@@ -590,7 +590,7 @@ found."
field (cdr item)))))
(funcall func msg)))
-(defsubst mu4e~headers-field-value (msg field)
+(defun mu4e~headers-field-value (msg field)
(let ((val (mu4e-message-field msg field)))
(cl-case field
(:subject
@@ -622,7 +622,7 @@ found."
(:size (mu4e-display-size val))
(t (mu4e~headers-custom-field-value msg field)))))
-(defun mu4e~headers-truncate-field-fast (val width)
+(defsubst mu4e~headers-truncate-field-fast (val width)
"Truncate VAL to WIDTH. Fast and somewhat inaccurate."
(if width
(truncate-string-to-width val width 0 ?\s truncate-string-ellipsis)