aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2011-10-17 18:21:48 -0400
committerChong Yidong2011-10-17 18:21:48 -0400
commit67e729a5f78cf54a608297b1be201ed12a676737 (patch)
treead5d5550c880736d0c7f251920b391e233fc3d34
parent87e478b3c1180f9e73396c2fa7c4db55da155489 (diff)
downloademacs-67e729a5f78cf54a608297b1be201ed12a676737.tar.gz
emacs-67e729a5f78cf54a608297b1be201ed12a676737.zip
* lisp/font-lock.el (font-lock-maximum-size): Mark as obsolete.
-rw-r--r--etc/NEWS6
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/font-lock.el8
3 files changed, 14 insertions, 4 deletions
diff --git a/etc/NEWS b/etc/NEWS
index d8d0741f928..e12fe52e614 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -237,8 +237,8 @@ The frame-parameter tool-bar-position controls this. It takes the values
237top, left, right or bottom. The Options => Show/Hide menu has entries 237top, left, right or bottom. The Options => Show/Hide menu has entries
238for this. 238for this.
239 239
240*** The colors for selected text (the region face) are taken from the GTK 240*** The colors for selected text (the `region' face) are taken from
241theme when Emacs is built with GTK. 241the GTK theme when Emacs is built with GTK.
242 242
243*** Emacs uses GTK tooltips by default if built with GTK. You can turn that 243*** Emacs uses GTK tooltips by default if built with GTK. You can turn that
244off by customizing x-gtk-use-system-tooltips. 244off by customizing x-gtk-use-system-tooltips.
@@ -1312,6 +1312,8 @@ Use `filter-buffer-substring-functions' instead.
1312 1312
1313*** `deferred-action-list' and `deferred-action-function' are obsolete. 1313*** `deferred-action-list' and `deferred-action-function' are obsolete.
1314 1314
1315*** `font-lock-maximum-size' is obsolete.
1316
1315 1317
1316* Changes in Emacs 24.1 on non-free operating systems 1318* Changes in Emacs 24.1 on non-free operating systems
1317 1319
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 471b1219c19..c3024db8821 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12011-10-17 Chong Yidong <cyd@gnu.org>
2
3 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
4
12011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change) 52011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
2 6
3 * dirtrack.el (dirtrack): Support shell buffers with path 7 * dirtrack.el (dirtrack): Support shell buffers with path
diff --git a/lisp/font-lock.el b/lisp/font-lock.el
index c37a9ae916e..2f4b7413dcc 100644
--- a/lisp/font-lock.el
+++ b/lisp/font-lock.el
@@ -228,8 +228,11 @@
228;; User variables. 228;; User variables.
229 229
230(defcustom font-lock-maximum-size 256000 230(defcustom font-lock-maximum-size 256000
231 "Maximum size of a buffer for buffer fontification. 231 "Maximum buffer size for unsupported buffer fontification.
232Only buffers less than this can be fontified when Font Lock mode is turned on. 232When `font-lock-support-mode' is nil, only buffers smaller than
233this are fontified. This variable has no effect if a Font Lock
234support mode (usually `jit-lock-mode') is enabled.
235
233If nil, means size is irrelevant. 236If nil, means size is irrelevant.
234If a list, each element should be a cons pair of the form (MAJOR-MODE . SIZE), 237If a list, each element should be a cons pair of the form (MAJOR-MODE . SIZE),
235where MAJOR-MODE is a symbol or t (meaning the default). For example: 238where 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."
248 (const :tag "none" nil) 251 (const :tag "none" nil)
249 (integer :tag "size"))))) 252 (integer :tag "size")))))
250 :group 'font-lock) 253 :group 'font-lock)
254(make-obsolete-variable 'font-lock-maximum-size nil "24.1")
251 255
252(defcustom font-lock-maximum-decoration t 256(defcustom font-lock-maximum-decoration t
253 "Maximum decoration level for fontification. 257 "Maximum decoration level for fontification.