changeset 66579:621fdbc28285

* loadup.el: Load emacs-lisp/syntax, font-lock and jit-lock so that global-font-lock-mode can be enabled by default. * font-lock.el (font-lock-keywords, font-lock-mode-internal) (font-lock-add-keywords, font-lock-remove-keywords) (font-lock-fontify-buffer): Remove autoload cookies. * jit-lock.el (jit-lock-register): Likewise. * emacs-lisp/syntax.el (syntax-ppss): Likewise. * puresize.h (BASE_PURESIZE): Increment to 1170000.
author Dan Nicolaescu <dann@ics.uci.edu>
date Mon, 31 Oct 2005 16:41:15 +0000
parents ed2aec2424ae
children 35ee6fbeca84
files lisp/ChangeLog lisp/emacs-lisp/syntax.el lisp/font-lock.el lisp/jit-lock.el lisp/loadup.el src/ChangeLog src/puresize.h
diffstat 7 files changed, 21 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Oct 31 09:30:35 2005 +0000
+++ b/lisp/ChangeLog	Mon Oct 31 16:41:15 2005 +0000
@@ -1,3 +1,16 @@
+2005-10-31  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* loadup.el: Load emacs-lisp/syntax, font-lock and jit-lock so
+	that global-font-lock-mode can be enabled by default.
+
+	* font-lock.el (font-lock-keywords, font-lock-mode-internal)
+	(font-lock-add-keywords, font-lock-remove-keywords)
+	(font-lock-fontify-buffer): Remove autoload cookies.
+
+	* jit-lock.el (jit-lock-register): Likewise.
+
+	* emacs-lisp/syntax.el (syntax-ppss): Likewise.
+
 2005-10-31  Nick Roberts  <nickrob@snap.net.nz>
 
 	* progmodes/gdb-ui.el (gdb-many-windows): Leave window configuration
--- a/lisp/emacs-lisp/syntax.el	Mon Oct 31 09:30:35 2005 +0000
+++ b/lisp/emacs-lisp/syntax.el	Mon Oct 31 16:41:15 2005 +0000
@@ -109,7 +109,6 @@
 	      (error nil)))
 	  syntax-ppss-stats))
 
-;;;###autoload
 (defun syntax-ppss (&optional pos)
   "Parse-Partial-Sexp State at POS.
 The returned value is the same as `parse-partial-sexp' except that
--- a/lisp/font-lock.el	Mon Oct 31 09:30:35 2005 +0000
+++ b/lisp/font-lock.el	Mon Oct 31 16:41:15 2005 +0000
@@ -340,7 +340,6 @@
 
 ;; Fontification variables:
 
-;;;###autoload
 (defvar font-lock-keywords nil
   "A list of the keywords to highlight.
 There are two kinds of values: user-level, and compiled.
@@ -630,7 +629,6 @@
   ;; Shut up the byte compiler.
   (defvar font-lock-face-attributes))	; Obsolete but respected if set.
 
-;;;###autoload
 (defun font-lock-mode-internal (arg)
   ;; Turn on Font Lock mode.
   (when arg
@@ -652,7 +650,6 @@
     (font-lock-unfontify-buffer)
     (font-lock-turn-off-thing-lock)))
 
-;;;###autoload
 (defun font-lock-add-keywords (mode keywords &optional append)
   "Add highlighting KEYWORDS for MODE.
 
@@ -771,7 +768,6 @@
 ;;      is added and removed several times.
 ;;
 ;; (II) The keywords are removed from the current buffer.
-;;;###autoload
 (defun font-lock-remove-keywords (mode keywords)
   "Remove highlighting KEYWORDS for MODE.
 
@@ -981,7 +977,6 @@
 ;; directives correctly and cleanly.  (It is the same problem as fontifying
 ;; multi-line strings and comments; regexps are not appropriate for the job.)
 
-;;;###autoload
 (defun font-lock-fontify-buffer ()
   "Fontify the current buffer the way the function `font-lock-mode' would."
   (interactive)
--- a/lisp/jit-lock.el	Mon Oct 31 09:30:35 2005 +0000
+++ b/lisp/jit-lock.el	Mon Oct 31 16:41:15 2005 +0000
@@ -264,7 +264,6 @@
 	 (remove-hook 'after-change-functions 'jit-lock-after-change t)
 	 (remove-hook 'fontification-functions 'jit-lock-function))))
 
-;;;###autoload
 (defun jit-lock-register (fun &optional contextual)
   "Register FUN as a fontification function to be called in this buffer.
 FUN will be called with two arguments START and END indicating the region
--- a/lisp/loadup.el	Mon Oct 31 09:30:35 2005 +0000
+++ b/lisp/loadup.el	Mon Oct 31 16:41:15 2005 +0000
@@ -132,6 +132,9 @@
 (load "frame")
 (load "term/tty-colors")
 (load "font-core")
+(load "emacs-lisp/syntax")
+(load "font-lock")
+(load "jit-lock")
 
 (load "facemenu")
 (if (fboundp 'track-mouse)
--- a/src/ChangeLog	Mon Oct 31 09:30:35 2005 +0000
+++ b/src/ChangeLog	Mon Oct 31 16:41:15 2005 +0000
@@ -1,3 +1,7 @@
+2005-10-31  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* puresize.h (BASE_PURESIZE): Increment to 1170000.
+
 2005-10-31  Romain Francoise  <romain@orebokech.com>
 
 	* macfns.c: Update copyright year.
--- a/src/puresize.h	Mon Oct 31 09:30:35 2005 +0000
+++ b/src/puresize.h	Mon Oct 31 16:41:15 2005 +0000
@@ -42,7 +42,7 @@
 #endif
 
 #ifndef BASE_PURESIZE
-#define BASE_PURESIZE (1130000 + SYSTEM_PURESIZE_EXTRA + SITELOAD_PURESIZE_EXTRA)
+#define BASE_PURESIZE (1170000 + SYSTEM_PURESIZE_EXTRA + SITELOAD_PURESIZE_EXTRA)
 #endif
 
 /* Increase BASE_PURESIZE by a ratio depending on the machine's word size.  */