From 117f438e1092ce7faf5897eb1943b2919592040b Mon Sep 17 00:00:00 2001 From: Thierry Volpiatto Date: Tue, 23 Feb 2021 21:24:44 +0100 Subject: [PATCH] Fix error in mu4e-view-gnus-save-mime-parts where `handle' may not be a list (here a marker when I had error). So ensure it is a list. --- mu4e/mu4e-view.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mu4e/mu4e-view.el b/mu4e/mu4e-view.el index 5308f81f..31383ed2 100644 --- a/mu4e/mu4e-view.el +++ b/mu4e/mu4e-view.el @@ -1435,7 +1435,7 @@ attachments is done with `completing-read-multiple', in this case use (goto-char (point-min)) (while (not (eobp)) (let ((handle (get-text-property (point) 'gnus-data))) - (when handle + (when (consp handle) (let ((fname (cdr (assoc 'filename (assoc "attachment" (cdr handle)))))) (when fname (push `(,fname . ,handle) handles)