Mu4e: Use more robust xwidget support check

This shouldn't be defined unless the C library is present.
This commit is contained in:
TEC 2020-10-14 01:23:55 +08:00
parent 1b9dce8fcd
commit 9673b66dc1
No known key found for this signature in database
GPG key ID: 779591AFDB81F06C

View file

@ -163,7 +163,7 @@
(when (fboundp 'imagemagick-register-types) (when (fboundp 'imagemagick-register-types)
(imagemagick-register-types)) (imagemagick-register-types))
(when (fboundp 'xwidget-webkit-browse-url) (when (fboundp 'make-xwidget)
(push '("view with xwidgets" . mu4e-action-view-with-xwidget) (push '("view with xwidgets" . mu4e-action-view-with-xwidget)
mu4e-view-actions)) mu4e-view-actions))