"Stephen J. Turnbull" <stephen(a)xemacs.org> writes:
Because it doesn't exist. That's why it's called
w3-SITE-init.el;
I figured as much, but it wasn't clear to me what the contents should look like
and I didn't see any mention of it in the documentation.
(condition-case ()
(require 'w3-site-init)
(error nil)))
Yup, I see that in w3.el.
Ie, it's required, but the error should be caught and ignored.
Are you sure you have no other versions of w3 installed?
I'm quite sure, yes. I had some 21.4.6 binaries installed with my system in RPM
format, but I have long since removed the RPMs. The 21.4.12 install is fairly
recent, but AFAIK the only w3 install is from xemacs-sumo-2003-04-14.tar.gz.
Try "M-x find-library RET w3 RET C-s site-init" and see
what you find
there. Do use find-library because it finds the same library that is
found by require, if you do have multiple libraries installed.
This command loads w3.el, and the only place "site-init" occurs is in the
following function:
(defun w3-load-flavors ()
;; Load the correct emacsen specific stuff
(cond
(w3-running-xemacs (require 'w3-xemac))
(t ; Assume we are the FSF variant
(require (intern (format "w3-e%d" emacs-major-version)))))
(if (featurep 'emacspeak)
(condition-case ()
(progn
(require 'dtk-css-speech)
(require 'w3-speak))))
(condition-case ()
(require 'w3-site-init)
(error nil)))
Any ideas why the error would be being ignored? What should w3-site-init
contain?
Thanks for the help!
-j
--
Joel Stanley * jstanley(a)cs.uiuc.edu