Mercurial > emacs
comparison man/display.texi @ 38203:afc3a9e55ac4
Update xref (Defuns -> Left Margin Convention).
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 26 Jun 2001 13:20:18 +0000 |
parents | 82d39521a482 |
children | 30a4ce47105b |
comparison
equal
deleted
inserted
replaced
38202:9aad32f27cef | 38203:afc3a9e55ac4 |
---|---|
255 Comment and string fontification (or ``syntactic'' fontification) | 255 Comment and string fontification (or ``syntactic'' fontification) |
256 relies on analysis of the syntactic structure of the buffer text. For | 256 relies on analysis of the syntactic structure of the buffer text. For |
257 the purposes of speed, some modes, including C mode and Lisp mode, | 257 the purposes of speed, some modes, including C mode and Lisp mode, |
258 rely on a special convention: an open-parenthesis or open-brace in the | 258 rely on a special convention: an open-parenthesis or open-brace in the |
259 leftmost column always defines the @w{beginning} of a defun, and is | 259 leftmost column always defines the @w{beginning} of a defun, and is |
260 thus always outside any string or comment. (@xref{Defuns}.) If you | 260 thus always outside any string or comment. (@xref{Left Margin |
261 don't follow this convention, then Font Lock mode can misfontify the | 261 Convention}.) If you don't follow this convention, Font Lock mode can |
262 text that follows an open-parenthesis or open-brace in the leftmost | 262 misfontify the text that follows an open-parenthesis or open-brace in |
263 column that is inside a string or comment. | 263 the leftmost column that is inside a string or comment. |
264 | 264 |
265 @cindex slow display during scrolling | 265 @cindex slow display during scrolling |
266 The variable @code{font-lock-beginning-of-syntax-function} (always | 266 The variable @code{font-lock-beginning-of-syntax-function} (always |
267 buffer-local) specifies how Font Lock mode can find a position | 267 buffer-local) specifies how Font Lock mode can find a position |
268 guaranteed to be outside any comment or string. In modes which use the | 268 guaranteed to be outside any comment or string. In modes which use the |