aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
authorJuanma Barranquero2004-05-07 22:26:29 +0000
committerJuanma Barranquero2004-05-07 22:26:29 +0000
commitd7ee9fab39fc2a9ac0747402b622fa7a789ff75b (patch)
treefb17a32c5114a2027050de2a2ab31e29ad1ace5e /src/syntax.c
parent6e7b0767927354d2e3d0ac0d1b51723e6e2237fc (diff)
downloademacs-d7ee9fab39fc2a9ac0747402b622fa7a789ff75b.tar.gz
emacs-d7ee9fab39fc2a9ac0747402b622fa7a789ff75b.zip
(Fmodify_syntax_entry): Fix docstring.
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/syntax.c b/src/syntax.c
index 72f7a5c5209..4b26d04cd30 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -977,7 +977,7 @@ text property. */)
977DEFUN ("modify-syntax-entry", Fmodify_syntax_entry, Smodify_syntax_entry, 2, 3, 977DEFUN ("modify-syntax-entry", Fmodify_syntax_entry, Smodify_syntax_entry, 2, 3,
978 "cSet syntax for character: \nsSet syntax for %s to: ", 978 "cSet syntax for character: \nsSet syntax for %s to: ",
979 doc: /* Set syntax for character CHAR according to string NEWENTRY. 979 doc: /* Set syntax for character CHAR according to string NEWENTRY.
980The syntax is changed only for table SYNTAX_TABLE, which defaults to 980The syntax is changed only for table SYNTAX-TABLE, which defaults to
981 the current buffer's syntax table. 981 the current buffer's syntax table.
982The first character of NEWENTRY should be one of the following: 982The first character of NEWENTRY should be one of the following:
983 Space or - whitespace syntax. w word constituent. 983 Space or - whitespace syntax. w word constituent.
@@ -1517,12 +1517,12 @@ skip_chars (forwardp, syntaxp, string, lim)
1517 if (forwardp) 1517 if (forwardp)
1518 { 1518 {
1519 endp = (XINT (lim) == GPT) ? GPT_ADDR : CHAR_POS_ADDR (XINT (lim)); 1519 endp = (XINT (lim) == GPT) ? GPT_ADDR : CHAR_POS_ADDR (XINT (lim));
1520 stop = (pos < GPT && GPT < XINT (lim)) ? GPT_ADDR : endp; 1520 stop = (pos < GPT && GPT < XINT (lim)) ? GPT_ADDR : endp;
1521 } 1521 }
1522 else 1522 else
1523 { 1523 {
1524 endp = CHAR_POS_ADDR (XINT (lim)); 1524 endp = CHAR_POS_ADDR (XINT (lim));
1525 stop = (pos >= GPT && GPT > XINT (lim)) ? GAP_END_ADDR : endp; 1525 stop = (pos >= GPT && GPT > XINT (lim)) ? GAP_END_ADDR : endp;
1526 } 1526 }
1527 1527
1528 immediate_quit = 1; 1528 immediate_quit = 1;