> The function vm-mime-can-display-internal checks for "text/html" mails
> whether the can be displayed with Emacs/W3. It contains these lines:
>
> ;; this because GNUS bogusly sets up autoloads
> ;; for w3-region even if W3 isn't installed.
> (fboundp 'w3-about)
>
> The problem is that in my version of Emacs/W3 (the most recent from
> CVS) this function is not defined.
I hope the following patch fixed it?
=== modified file 'lisp/vm-mime.el'
--- lisp/vm-mime.el 2008-08-24 20:12:02 +0000
+++ lisp/vm-mime.el 2008-08-27 21:53:46 +0000
@@ -1630,11 +1630,8 @@
(car (vm-mm-layout-parts layout)) t)))
((vm-mime-types-match "message" type) t)
((vm-mime-types-match "text/html" type)
- (and (fboundp 'w3-region)
+ (and (locate-library "w3")
vm-mime-use-w3-for-text/html
- ;; this because GNUS bogusly sets up autoloads
- ;; for w3-region even if W3 isn't installed.
- (fboundp 'w3-about)
(let ((charset (or (vm-mime-get-parameter layout "charset")
"us-ascii")))
(vm-mime-charset-internally-displayable-p charset))))
Robert.