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:
@ -759,7 +759,7 @@ filename."
|
|||||||
(dolist (p positions)
|
(dolist (p positions)
|
||||||
(when-let* ((handle (get-text-property p 'gnus-data))
|
(when-let* ((handle (get-text-property p 'gnus-data))
|
||||||
((listp handle))
|
((listp handle))
|
||||||
(name (mm-handle-filename handle))
|
(name (ignore-errors (mm-handle-filename handle)))
|
||||||
(icon (mu4e-file-name-to-icon name)))
|
(icon (mu4e-file-name-to-icon name)))
|
||||||
(goto-char p)
|
(goto-char p)
|
||||||
(insert icon " "))))))
|
(insert icon " "))))))
|
||||||
|
|||||||
Reference in New Issue
Block a user