diff options
| author | Richard M. Stallman | 2002-06-12 12:16:08 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-06-12 12:16:08 +0000 |
| commit | fc896a928cac48ab605eb17dc32267450a85c0d4 (patch) | |
| tree | e75d7ab047b5179f430fe968af6545e7d22ae1c1 | |
| parent | 8b22c65ad8d81768abd43e379f13312f932ffe88 (diff) | |
| download | emacs-fc896a928cac48ab605eb17dc32267450a85c0d4.tar.gz emacs-fc896a928cac48ab605eb17dc32267450a85c0d4.zip | |
(font-lock-beginning-of-syntax-function): Doc fix.
| -rw-r--r-- | lisp/font-lock.el | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 04d422b7942..fc9fe45954b 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el | |||
| @@ -519,12 +519,17 @@ If this is nil, the major mode's syntax table is used. | |||
| 519 | This is normally set via `font-lock-defaults'.") | 519 | This is normally set via `font-lock-defaults'.") |
| 520 | 520 | ||
| 521 | (defvar font-lock-beginning-of-syntax-function nil | 521 | (defvar font-lock-beginning-of-syntax-function nil |
| 522 | "*Non-nil means use this function to move back outside of a syntactic block. | 522 | "*Non-nil means use this function to move back outside all constructs. |
| 523 | When called with no args it should leave point at the beginning of any | 523 | When called with no args it should move point backward to a place which |
| 524 | enclosing syntactic block. | 524 | is not in a string or comment and not within any bracket-pairs (or else, |
| 525 | If this is nil, the beginning of the buffer is used (in the worst case). | 525 | a place such that any bracket-pairs outside it can be ignored for Emacs |
| 526 | syntax analysis and fontification). | ||
| 527 | |||
| 528 | If this is nil, the beginning of the buffer is used, which is | ||
| 529 | always correct but tends to be slow. | ||
| 526 | This is normally set via `font-lock-defaults'. | 530 | This is normally set via `font-lock-defaults'. |
| 527 | It is preferable to set `syntax-begin-function' instead.") | 531 | This variable is semi-obsolete; we recommend setting |
| 532 | `syntax-begin-function' instead.") | ||
| 528 | 533 | ||
| 529 | (defvar font-lock-mark-block-function nil | 534 | (defvar font-lock-mark-block-function nil |
| 530 | "*Non-nil means use this function to mark a block of text. | 535 | "*Non-nil means use this function to mark a block of text. |