From d7ee9fab39fc2a9ac0747402b622fa7a789ff75b Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Fri, 7 May 2004 22:26:29 +0000 Subject: (Fmodify_syntax_entry): Fix docstring. --- src/syntax.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/syntax.c b/src/syntax.c index 72f7a5c520..4b26d04cd3 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -977,7 +977,7 @@ text property. */) DEFUN ("modify-syntax-entry", Fmodify_syntax_entry, Smodify_syntax_entry, 2, 3, "cSet syntax for character: \nsSet syntax for %s to: ", doc: /* Set syntax for character CHAR according to string NEWENTRY. -The syntax is changed only for table SYNTAX_TABLE, which defaults to +The syntax is changed only for table SYNTAX-TABLE, which defaults to the current buffer's syntax table. The first character of NEWENTRY should be one of the following: Space or - whitespace syntax. w word constituent. @@ -1517,12 +1517,12 @@ skip_chars (forwardp, syntaxp, string, lim) if (forwardp) { endp = (XINT (lim) == GPT) ? GPT_ADDR : CHAR_POS_ADDR (XINT (lim)); - stop = (pos < GPT && GPT < XINT (lim)) ? GPT_ADDR : endp; + stop = (pos < GPT && GPT < XINT (lim)) ? GPT_ADDR : endp; } else { endp = CHAR_POS_ADDR (XINT (lim)); - stop = (pos >= GPT && GPT > XINT (lim)) ? GAP_END_ADDR : endp; + stop = (pos >= GPT && GPT > XINT (lim)) ? GAP_END_ADDR : endp; } immediate_quit = 1; -- cgit v1.2.3