comparison man/new-users-guide/modes.texi @ 440:8de8e3f6228a r21-2-28

Import from CVS: tag r21-2-28
author cvs
date Mon, 13 Aug 2007 11:33:38 +0200
parents 3ecd8885ac67
children abe6d1db359e
comparison
equal deleted inserted replaced
439:357dd071b03c 440:8de8e3f6228a
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