* lisp/font-lock.el (font-lock-maximum-size): Mark as obsolete.
authorChong Yidong <cyd@gnu.org>
Mon, 17 Oct 2011 22:21:48 +0000 (18:21 -0400)
committerChong Yidong <cyd@gnu.org>
Mon, 17 Oct 2011 22:21:48 +0000 (18:21 -0400)
etc/NEWS
lisp/ChangeLog
lisp/font-lock.el

index d8d0741..e12fe52 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -237,8 +237,8 @@ The frame-parameter tool-bar-position controls this.  It takes the values
 top, left, right or bottom.  The Options => Show/Hide menu has entries
 for this.
 
-*** The colors for selected text (the region face) are taken from the GTK
-theme when Emacs is built with GTK.
+*** The colors for selected text (the `region' face) are taken from
+the GTK theme when Emacs is built with GTK.
 
 *** Emacs uses GTK tooltips by default if built with GTK.  You can turn that
 off by customizing x-gtk-use-system-tooltips.
@@ -1312,6 +1312,8 @@ Use `filter-buffer-substring-functions' instead.
 
 *** `deferred-action-list' and `deferred-action-function' are obsolete.
 
+*** `font-lock-maximum-size' is obsolete.
+
 \f
 * Changes in Emacs 24.1 on non-free operating systems
 
index 471b121..c3024db 100644 (file)
@@ -1,3 +1,7 @@
+2011-10-17  Chong Yidong  <cyd@gnu.org>
+
+       * font-lock.el (font-lock-maximum-size): Mark as obsolete.
+
 2011-10-17  Ryan Barrett <emacs@ryanb.org>  (tiny change)
 
        * dirtrack.el (dirtrack): Support shell buffers with path
index c37a9ae..2f4b741 100644 (file)
 ;; User variables.
 
 (defcustom font-lock-maximum-size 256000
-  "Maximum size of a buffer for buffer fontification.
-Only buffers less than this can be fontified when Font Lock mode is turned on.
+  "Maximum buffer size for unsupported buffer fontification.
+When `font-lock-support-mode' is nil, only buffers smaller than
+this are fontified.  This variable has no effect if a Font Lock
+support mode (usually `jit-lock-mode') is enabled.
+
 If nil, means size is irrelevant.
 If a list, each element should be a cons pair of the form (MAJOR-MODE . SIZE),
 where MAJOR-MODE is a symbol or t (meaning the default).  For example:
@@ -248,6 +251,7 @@ for buffers in Rmail mode, and size is irrelevant otherwise."
                                      (const :tag "none" nil)
                                      (integer :tag "size")))))
   :group 'font-lock)
+(make-obsolete-variable 'font-lock-maximum-size nil "24.1")
 
 (defcustom font-lock-maximum-decoration t
   "Maximum decoration level for fontification.