X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/ddc447fcffd7619965bd8dbc3d65470ce521db77..3abeca61dcf1b90feb565cbf682619df764469b0:/src/syntax.c?ds=sidebyside diff --git a/src/syntax.c b/src/syntax.c index b217404e87..799f44d3c2 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -1307,7 +1307,9 @@ except that `]' is never special and `\\' quotes `^', `-' or `\\' (but not as the end of a range; quoting is never needed there). Thus, with arg "a-zA-Z", this skips letters stopping before first nonletter. With arg "^a-zA-Z", skips nonletters stopping before first letter. -Returns the distance traveled, either zero or positive. */) +Returns the distance traveled, either zero or positive. +Note that char classes, e.g. `[:alpha:]', are not currently supported; +they will be treated as literals. */) (string, lim) Lisp_Object string, lim; { @@ -1772,7 +1774,7 @@ forw_comment (from, from_byte, stop, nesting, style, prev_syntax, } DEFUN ("forward-comment", Fforward_comment, Sforward_comment, 1, 1, 0, - doc: /* + doc: /* Move forward across up to COUNT comments. If COUNT is negative, move backward. Stop scanning if we find something other than a comment or whitespace. Set point to where scanning stops. @@ -2994,7 +2996,7 @@ See the info node `(elisp)Syntax Properties' for a description of the DEFVAR_BOOL ("open-paren-in-column-0-is-defun-start", &open_paren_in_column_0_is_defun_start, - doc: /* Non-nil means an open paren in column 0 denotes the start of a defun. */); + doc: /* *Non-nil means an open paren in column 0 denotes the start of a defun. */); open_paren_in_column_0_is_defun_start = 1; defsubr (&Ssyntax_table_p);