# HG changeset patch # User Romain Francoise # Date 1129787330 0 # Node ID 32398ccbc5060facf876a935dc6661a10fc22dec # Parent 3a5f2ee9f30b2a694b878b1ebfcf552ca2c337c8 (font-lock-mode): Doc fix. diff -r 3a5f2ee9f30b -r 32398ccbc506 lisp/ChangeLog --- a/lisp/ChangeLog Wed Oct 19 22:21:18 2005 +0000 +++ b/lisp/ChangeLog Thu Oct 20 05:48:50 2005 +0000 @@ -1,3 +1,7 @@ +2005-10-20 Romain Francoise + + * font-core.el (font-lock-mode): Doc fix. + 2005-10-20 Kim F. Storm * ido.el (ido-is-tramp-root): Simplify regexp matching tramp root. diff -r 3a5f2ee9f30b -r 32398ccbc506 lisp/font-core.el --- a/lisp/font-core.el Wed Oct 19 22:21:18 2005 +0000 +++ b/lisp/font-core.el Thu Oct 20 05:48:50 2005 +0000 @@ -118,17 +118,14 @@ (global-font-lock-mode t) -There are a number of support modes that may be used to speed up Font Lock mode -in various ways, specified via the variable `font-lock-support-mode'. Where -major modes support different levels of fontification, you can use the variable -`font-lock-maximum-decoration' to specify which level you generally prefer. -When you turn Font Lock mode on/off the buffer is fontified/defontified, though -fontification occurs only if the buffer is less than `font-lock-maximum-size'. +Where major modes support different levels of fontification, you can use +the variable `font-lock-maximum-decoration' to specify which level you +generally prefer. When you turn Font Lock mode on/off the buffer is +fontified/defontified, though fontification occurs only if the buffer is +less than `font-lock-maximum-size'. -For example, to specify that Font Lock mode uses Lazy Lock mode as a support -mode and use maximum levels of fontification, put in your ~/.emacs: +For example, to use maximum levels of fontification, put in your ~/.emacs: - (setq font-lock-support-mode 'lazy-lock-mode) (setq font-lock-maximum-decoration t) To add your own highlighting for some major mode, and modify the highlighting