aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/syntax.c b/src/syntax.c
index 1301c0689ad..819a7542a7b 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -138,6 +138,7 @@ static EMACS_INT find_start_begv;
138static int find_start_modiff; 138static int find_start_modiff;
139 139
140 140
141INFUN (Fsyntax_table_p, 1);
141static Lisp_Object skip_chars (int, Lisp_Object, Lisp_Object, int); 142static Lisp_Object skip_chars (int, Lisp_Object, Lisp_Object, int);
142static Lisp_Object skip_syntaxes (int, Lisp_Object, Lisp_Object); 143static Lisp_Object skip_syntaxes (int, Lisp_Object, Lisp_Object);
143static Lisp_Object scan_lists (EMACS_INT, EMACS_INT, EMACS_INT, int); 144static Lisp_Object scan_lists (EMACS_INT, EMACS_INT, EMACS_INT, int);
@@ -1337,7 +1338,7 @@ scan_words (register EMACS_INT from, register EMACS_INT count)
1337 return from; 1338 return from;
1338} 1339}
1339 1340
1340DEFUN ("forward-word", Fforward_word, Sforward_word, 0, 1, "^p", 1341DEFUE ("forward-word", Fforward_word, Sforward_word, 0, 1, "^p",
1341 doc: /* Move point forward ARG words (backward if ARG is negative). 1342 doc: /* Move point forward ARG words (backward if ARG is negative).
1342Normally returns t. 1343Normally returns t.
1343If an edge of the buffer or a field boundary is reached, point is left there 1344If an edge of the buffer or a field boundary is reached, point is left there
@@ -1366,9 +1367,7 @@ and the function returns nil. Field boundaries are not noticed if
1366 return val == orig_val ? Qt : Qnil; 1367 return val == orig_val ? Qt : Qnil;
1367} 1368}
1368 1369
1369Lisp_Object skip_chars (int, Lisp_Object, Lisp_Object, int); 1370DEFUE ("skip-chars-forward", Fskip_chars_forward, Sskip_chars_forward, 1, 2, 0,
1370
1371DEFUN ("skip-chars-forward", Fskip_chars_forward, Sskip_chars_forward, 1, 2, 0,
1372 doc: /* Move point forward, stopping before a char not in STRING, or at pos LIM. 1371 doc: /* Move point forward, stopping before a char not in STRING, or at pos LIM.
1373STRING is like the inside of a `[...]' in a regular expression 1372STRING is like the inside of a `[...]' in a regular expression
1374except that `]' is never special and `\\' quotes `^', `-' or `\\' 1373except that `]' is never special and `\\' quotes `^', `-' or `\\'
@@ -1383,7 +1382,7 @@ Returns the distance traveled, either zero or positive. */)
1383 return skip_chars (1, string, lim, 1); 1382 return skip_chars (1, string, lim, 1);
1384} 1383}
1385 1384
1386DEFUN ("skip-chars-backward", Fskip_chars_backward, Sskip_chars_backward, 1, 2, 0, 1385DEFUE ("skip-chars-backward", Fskip_chars_backward, Sskip_chars_backward, 1, 2, 0,
1387 doc: /* Move point backward, stopping after a char not in STRING, or at pos LIM. 1386 doc: /* Move point backward, stopping after a char not in STRING, or at pos LIM.
1388See `skip-chars-forward' for details. 1387See `skip-chars-forward' for details.
1389Returns the distance traveled, either zero or negative. */) 1388Returns the distance traveled, either zero or negative. */)