Mercurial > hg > xemacs-beta
comparison man/new-users-guide/modes.texi @ 398:74fd4e045ea6 r21-2-29
Import from CVS: tag r21-2-29
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:13:30 +0200 |
parents | 7d59cb494b73 |
children | de805c49cfc1 |
comparison
equal
deleted
inserted
replaced
397:f4aeb21a5bad | 398:74fd4e045ea6 |
---|---|
173 enable this minor mode, you need a statement in your @file{.emacs} | 173 enable this minor mode, you need a statement in your @file{.emacs} |
174 file. The following example shows how to enable the font-lock mode when | 174 file. The following example shows how to enable the font-lock mode when |
175 the major mode is c-mode. | 175 the major mode is c-mode. |
176 | 176 |
177 @example | 177 @example |
178 (add-hook 'c-mode-hook 'turn-on-font-lock) | 178 (add-hook 'c-mode-hook 'turn-on-font-lock) |
179 @end example | 179 @end example |
180 | 180 |
181 @noindent | 181 @noindent |
182 @xref{Other Customizations}. | 182 @xref{Other Customizations}. |
183 | 183 |