This patch restores the constant font-running-xemacs to font.el in 21.5 core,
which was removed in a cleanup of the file back in November. Without this
w3.el will not work (M-x w3 will fail trying to load the home page).
Is says something about the popularity of w3 on 21.5 if such as glaring bug
takes 5 months to be noticed!
Malcolm
lisp/ChangeLog addition:
2006-05-06 Malcolm Purvis <malcolmp(a)xemacs.org>
* font.el (font-running-xemacs): Restore definition.
xemacs-21.5-micro-patches source patch:
Diff command: cvs -q diff -u
Files affected: lisp/font.el
Index: lisp/font.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/lisp/font.el,v
retrieving revision 1.20
diff -u -r1.20 font.el
--- lisp/font.el 2006/04/25 14:01:53 1.20
+++ lisp/font.el 2006/05/06 12:24:50
@@ -102,6 +102,9 @@
;;; Lots of variables / keywords for use later in the program
;;; Not much should need to be modified
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+(defconst font-running-xemacs (string-match "XEmacs" (emacs-version))
+ "Whether we are running in XEmacs or not.")
+
;; #### These aren't window system mappings
(defconst font-window-system-mappings
'((x . (x-font-create-name x-font-create-object))
--
Malcolm Purvis <malcolmp(a)xemacs.org>