aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
authorLars Ingebrigtsen2014-02-07 21:12:47 -0800
committerLars Ingebrigtsen2014-02-07 21:12:47 -0800
commit8acaaad7bd292795f4ac04a639af2d1284b875ba (patch)
tree6994d9fe5de4da5b889a357e7affbe278123809a /src/syntax.c
parent15cb9968c09e7c265878fcc023a9168c9716dced (diff)
downloademacs-8acaaad7bd292795f4ac04a639af2d1284b875ba.tar.gz
emacs-8acaaad7bd292795f4ac04a639af2d1284b875ba.zip
* syntax.c (Fskip_syntax_backward): Doc clarification.
Fixes: debbugs:15115
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c
index 12575bfa3f7..f2451332b19 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -1532,7 +1532,8 @@ DEFUN ("skip-syntax-backward", Fskip_syntax_backward, Sskip_syntax_backward, 1,
1532SYNTAX is a string of syntax code characters. 1532SYNTAX is a string of syntax code characters.
1533Stop on reaching a char whose syntax is not in SYNTAX, or at position LIM. 1533Stop on reaching a char whose syntax is not in SYNTAX, or at position LIM.
1534If SYNTAX starts with ^, skip characters whose syntax is NOT in SYNTAX. 1534If SYNTAX starts with ^, skip characters whose syntax is NOT in SYNTAX.
1535This function returns the distance traveled, either zero or negative. */) 1535This function returns either zero or a negative number, and the absolute value
1536of this is the distance traveled. */)
1536 (Lisp_Object syntax, Lisp_Object lim) 1537 (Lisp_Object syntax, Lisp_Object lim)
1537{ 1538{
1538 return skip_syntaxes (0, syntax, lim); 1539 return skip_syntaxes (0, syntax, lim);