Does anyone see any problems with the patch below? font-lock-defaults is defined in lisp/font-core.el which is loaded by lisp/loadup.el before any major modes are loaded. I checked that the patch introduces no compiler warnings.
Lute. Index: lisp/subr.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/subr.el,v retrieving revision 1.455 diff -c -r1.455 subr.el *** lisp/subr.el 19 May 2005 23:44:17 -0000 1.455 --- lisp/subr.el 20 May 2005 13:26:22 -0000 *************** *** 1452,1461 **** ;;;; Miscellanea. - ;; A number of major modes set this locally. - ;; Give it a global value to avoid compiler warnings. - (defvar font-lock-defaults nil) - (defvar suspend-hook nil "Normal hook run by `suspend-emacs', before suspending.") --- 1452,1457 ---- _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel