comparison src/syntax.c @ 49551:fd7582381b9e

(Fskip_chars_forward) (open-paren-in-column-0-is-defun-start): Doc fix.
author Dave Love <fx@gnu.org>
date Fri, 31 Jan 2003 15:38:54 +0000
parents 04d5f3827d9f
children 23a1cea22d13
comparison
equal deleted inserted replaced
49550:950737d7271d 49551:fd7582381b9e
1305 STRING is like the inside of a `[...]' in a regular expression 1305 STRING is like the inside of a `[...]' in a regular expression
1306 except that `]' is never special and `\\' quotes `^', `-' or `\\' 1306 except that `]' is never special and `\\' quotes `^', `-' or `\\'
1307 (but not as the end of a range; quoting is never needed there). 1307 (but not as the end of a range; quoting is never needed there).
1308 Thus, with arg "a-zA-Z", this skips letters stopping before first nonletter. 1308 Thus, with arg "a-zA-Z", this skips letters stopping before first nonletter.
1309 With arg "^a-zA-Z", skips nonletters stopping before first letter. 1309 With arg "^a-zA-Z", skips nonletters stopping before first letter.
1310 Returns the distance traveled, either zero or positive. */) 1310 Returns the distance traveled, either zero or positive.
1311 Note that char classes, e.g. `[:alpha:]', are not currently supported;
1312 they will be treated as literals. */)
1311 (string, lim) 1313 (string, lim)
1312 Lisp_Object string, lim; 1314 Lisp_Object string, lim;
1313 { 1315 {
1314 return skip_chars (1, 0, string, lim); 1316 return skip_chars (1, 0, string, lim);
1315 } 1317 }
2992 doc: /* Non-nil means `scan-sexps' treats all multibyte characters as symbol. */); 2994 doc: /* Non-nil means `scan-sexps' treats all multibyte characters as symbol. */);
2993 multibyte_syntax_as_symbol = 0; 2995 multibyte_syntax_as_symbol = 0;
2994 2996
2995 DEFVAR_BOOL ("open-paren-in-column-0-is-defun-start", 2997 DEFVAR_BOOL ("open-paren-in-column-0-is-defun-start",
2996 &open_paren_in_column_0_is_defun_start, 2998 &open_paren_in_column_0_is_defun_start,
2997 doc: /* Non-nil means an open paren in column 0 denotes the start of a defun. */); 2999 doc: /* *Non-nil means an open paren in column 0 denotes the start of a defun. */);
2998 open_paren_in_column_0_is_defun_start = 1; 3000 open_paren_in_column_0_is_defun_start = 1;
2999 3001
3000 defsubr (&Ssyntax_table_p); 3002 defsubr (&Ssyntax_table_p);
3001 defsubr (&Ssyntax_table); 3003 defsubr (&Ssyntax_table);
3002 defsubr (&Sstandard_syntax_table); 3004 defsubr (&Sstandard_syntax_table);