aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2002-06-12 12:16:08 +0000
committerRichard M. Stallman2002-06-12 12:16:08 +0000
commitfc896a928cac48ab605eb17dc32267450a85c0d4 (patch)
treee75d7ab047b5179f430fe968af6545e7d22ae1c1
parent8b22c65ad8d81768abd43e379f13312f932ffe88 (diff)
downloademacs-fc896a928cac48ab605eb17dc32267450a85c0d4.tar.gz
emacs-fc896a928cac48ab605eb17dc32267450a85c0d4.zip
(font-lock-beginning-of-syntax-function): Doc fix.
-rw-r--r--lisp/font-lock.el15
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.
519This is normally set via `font-lock-defaults'.") 519This 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.
523When called with no args it should leave point at the beginning of any 523When called with no args it should move point backward to a place which
524enclosing syntactic block. 524is not in a string or comment and not within any bracket-pairs (or else,
525If this is nil, the beginning of the buffer is used (in the worst case). 525a place such that any bracket-pairs outside it can be ignored for Emacs
526syntax analysis and fontification).
527
528If this is nil, the beginning of the buffer is used, which is
529always correct but tends to be slow.
526This is normally set via `font-lock-defaults'. 530This is normally set via `font-lock-defaults'.
527It is preferable to set `syntax-begin-function' instead.") 531This 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.