emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

font-lock-defaults in lisp/subr.el.


From: Lute Kamstra
Subject: font-lock-defaults in lisp/subr.el.
Date: Fri, 20 May 2005 15:32:50 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]