aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorChong Yidong2011-10-17 18:21:48 -0400
committerChong Yidong2011-10-17 18:21:48 -0400
commit67e729a5f78cf54a608297b1be201ed12a676737 (patch)
treead5d5550c880736d0c7f251920b391e233fc3d34 /lisp
parent87e478b3c1180f9e73396c2fa7c4db55da155489 (diff)
downloademacs-67e729a5f78cf54a608297b1be201ed12a676737.tar.gz
emacs-67e729a5f78cf54a608297b1be201ed12a676737.zip
* lisp/font-lock.el (font-lock-maximum-size): Mark as obsolete.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/font-lock.el8
2 files changed, 10 insertions, 2 deletions
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.