emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r106108: * lisp/font-lock.el (font-lo


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r106108: * lisp/font-lock.el (font-lock-maximum-size): Mark as obsolete.
Date: Mon, 17 Oct 2011 18:21:48 -0400
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 106108
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Mon 2011-10-17 18:21:48 -0400
message:
  * lisp/font-lock.el (font-lock-maximum-size): Mark as obsolete.
modified:
  etc/NEWS
  lisp/ChangeLog
  lisp/font-lock.el
=== modified file 'etc/NEWS'
--- a/etc/NEWS  2011-10-15 16:37:45 +0000
+++ b/etc/NEWS  2011-10-17 22:21:48 +0000
@@ -237,8 +237,8 @@
 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 @@
 
 *** `deferred-action-list' and `deferred-action-function' are obsolete.
 
+*** `font-lock-maximum-size' is obsolete.
+
 
 * Changes in Emacs 24.1 on non-free operating systems
 

=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-10-17 19:48:28 +0000
+++ b/lisp/ChangeLog    2011-10-17 22:21:48 +0000
@@ -1,3 +1,7 @@
+2011-10-17  Chong Yidong  <address@hidden>
+
+       * font-lock.el (font-lock-maximum-size): Mark as obsolete.
+
 2011-10-17  Ryan Barrett <address@hidden>  (tiny change)
 
        * dirtrack.el (dirtrack): Support shell buffers with path

=== modified file 'lisp/font-lock.el'
--- a/lisp/font-lock.el 2011-08-21 03:02:39 +0000
+++ b/lisp/font-lock.el 2011-10-17 22:21:48 +0000
@@ -228,8 +228,11 @@
 ;; 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 @@
                                      (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.


reply via email to

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