[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

28. Speeding Up Font Lock Mode

Lazy Lock mode is a Font Lock support mode. It makes visiting a file in Font Lock mode faster by restoring its face text properties from automatically saved associated Font Lock cache files.

See also the lazy-lock package. (But don't use the two at the same time!)

To use this package, add the following to your initialization file:

 
  (setq font-lock-support-mode 'fast-lock-mode)

Start up a new Emacs and use font-lock as usual (except that you can use the so-called "gaudier" fontification regexps on big files without frustration).

When you visit a file (which has font-lock-mode enabled) that has a corresponding Font Lock cache file associated with it, the Font Lock cache will be loaded from that file instead of being generated by Font Lock code.

To configure this package, type:

 
  M-x customize-group RET fast-lock RET


[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

This document was generated by XEmacs shared group account on December, 19 2009 using texi2html 1.65.