mu4e-view: silence unsupported mime-part errors

Silence any error when we cannot get the filename for a handle. Not the
most elegant, but works around it... might help for #2923.
This commit is contained in:
Dirk-Jan C. Binnema
2026-05-01 19:05:45 +03:00
committed by Seth Ladygo
parent 7911cf4ded
commit f9751cedbd

View File

@ -759,7 +759,7 @@ filename."
(dolist (p positions)
(when-let* ((handle (get-text-property p 'gnus-data))
((listp handle))
(name (mm-handle-filename handle))
(name (ignore-errors (mm-handle-filename handle)))
(icon (mu4e-file-name-to-icon name)))
(goto-char p)
(insert icon " "))))))