aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
authorLars Ingebrigtsen <[email protected]>2014-02-07 21:12:47 -0800
committerLars Ingebrigtsen <[email protected]>2014-02-07 21:12:47 -0800
commit8acaaad7bd292795f4ac04a639af2d1284b875ba (patch)
tree6994d9fe5de4da5b889a357e7affbe278123809a /src/syntax.c
parent15cb9968c09e7c265878fcc023a9168c9716dced (diff)
* 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 12575bfa3f..f2451332b1 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -1532,7 +1532,8 @@ DEFUN ("skip-syntax-backward", Fskip_syntax_backward, Sskip_syntax_backward, 1,
SYNTAX is a string of syntax code characters.
Stop on reaching a char whose syntax is not in SYNTAX, or at position LIM.
If SYNTAX starts with ^, skip characters whose syntax is NOT in SYNTAX.
-This function returns the distance traveled, either zero or negative. */)
+This function returns either zero or a negative number, and the absolute value
+of this is the distance traveled. */)
(Lisp_Object syntax, Lisp_Object lim)
{
return skip_syntaxes (0, syntax, lim);