Mercurial > hg > xemacs-beta
comparison man/new-users-guide/modes.texi @ 412:697ef44129c6 r21-2-14
Import from CVS: tag r21-2-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:20:41 +0200 |
parents | de805c49cfc1 |
children |
comparison
equal
deleted
inserted
replaced
411:12e008d41344 | 412:697ef44129c6 |
---|---|
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 |
226 case of a system crash. | 226 case of a system crash. |
227 | 227 |
228 @item line-number-mode | 228 @item line-number-mode |
229 @cindex line-number-mode | 229 @cindex line-number-mode |
230 After you enable this mode, the line number at which your cursor is | 230 After you enable this mode, the line number at which your cursor is |
231 present will be displayed continuously in the mode line. | 231 present will be displayed continously in the mode line. |
232 | 232 |
233 @item blink-paren | 233 @item blink-paren |
234 @cindex blink-paren | 234 @cindex blink-paren |
235 To enable this command, just type | 235 To enable this command, just type |
236 @example | 236 @example |