# HG changeset patch # User Richard M. Stallman # Date 1099932956 0 # Node ID a683f1bc6fbe56af3b6c9ecda068d762e008377d # Parent 54677602f810d5a27409f9f93ec8f4f130324c9d (syntax-after): Doc fix. diff -r 54677602f810 -r a683f1bc6fbe lisp/subr.el --- a/lisp/subr.el Mon Nov 08 16:55:07 2004 +0000 +++ b/lisp/subr.el Mon Nov 08 16:55:56 2004 +0000 @@ -2210,9 +2210,9 @@ (defun syntax-after (pos) "Return the syntax of the char after POS. -The value is either a syntax character (a character that designates +The value is either a syntax class character (a character that designates a syntax in `modify-syntax-entry'), or a cons cell -of the form (CODE . MATCH), where CODE is the syntax character +of the form (CLASS . MATCH), where CLASS is the syntax class character and MATCH is the matching parenthesis." (unless (or (< pos (point-min)) (>= pos (point-max))) (let* ((st (if parse-sexp-lookup-properties