diff options
| author | Chong Yidong | 2011-10-17 18:21:48 -0400 |
|---|---|---|
| committer | Chong Yidong | 2011-10-17 18:21:48 -0400 |
| commit | 67e729a5f78cf54a608297b1be201ed12a676737 (patch) | |
| tree | ad5d5550c880736d0c7f251920b391e233fc3d34 | |
| parent | 87e478b3c1180f9e73396c2fa7c4db55da155489 (diff) | |
| download | emacs-67e729a5f78cf54a608297b1be201ed12a676737.tar.gz emacs-67e729a5f78cf54a608297b1be201ed12a676737.zip | |
* lisp/font-lock.el (font-lock-maximum-size): Mark as obsolete.
| -rw-r--r-- | etc/NEWS | 6 | ||||
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/font-lock.el | 8 |
3 files changed, 14 insertions, 4 deletions
| @@ -237,8 +237,8 @@ The frame-parameter tool-bar-position controls this. It takes the values | |||
| 237 | top, left, right or bottom. The Options => Show/Hide menu has entries | 237 | top, left, right or bottom. The Options => Show/Hide menu has entries |
| 238 | for this. | 238 | for 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 |
| 241 | theme when Emacs is built with GTK. | 241 | the 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 |
| 244 | off by customizing x-gtk-use-system-tooltips. | 244 | off 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 @@ | |||
| 1 | 2011-10-17 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * font-lock.el (font-lock-maximum-size): Mark as obsolete. | ||
| 4 | |||
| 1 | 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change) | 5 | 2011-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. |
| 232 | Only buffers less than this can be fontified when Font Lock mode is turned on. | 232 | When `font-lock-support-mode' is nil, only buffers smaller than |
| 233 | this are fontified. This variable has no effect if a Font Lock | ||
| 234 | support mode (usually `jit-lock-mode') is enabled. | ||
| 235 | |||
| 233 | If nil, means size is irrelevant. | 236 | If nil, means size is irrelevant. |
| 234 | If a list, each element should be a cons pair of the form (MAJOR-MODE . SIZE), | 237 | If a list, each element should be a cons pair of the form (MAJOR-MODE . SIZE), |
| 235 | where MAJOR-MODE is a symbol or t (meaning the default). For example: | 238 | 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." | |||
| 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. |