Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: vm-mime-can-display-internal checks for non-existing function w3-about

0 views
Skip to first unread message
Message has been deleted

newsspam5...@robf.de

unread,
Aug 27, 2008, 5:55:56 PM8/27/08
to
Klaus Straubinger <KSN...@UseNet.ArcorNews.DE> writes:

> 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.

Message has been deleted
0 new messages