diff options
| author | Kenichi Handa | 2004-10-29 00:24:33 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2004-10-29 00:24:33 +0000 |
| commit | 49feb1cd1fbcc1cde82eb322c2a0575255a88a8b (patch) | |
| tree | 72d1571ebe31c170711815ae8305ea2be4669f46 /src | |
| parent | c222a7c166ee4b396751c2f487a0097371d2a2de (diff) | |
| download | emacs-49feb1cd1fbcc1cde82eb322c2a0575255a88a8b.tar.gz emacs-49feb1cd1fbcc1cde82eb322c2a0575255a88a8b.zip | |
(skip_syntaxes): Return lispy 0 (not nil) if point is
already at limit.
Diffstat (limited to 'src')
| -rw-r--r-- | src/syntax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c index a8b6a58a89b..d68628b181c 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -1907,7 +1907,7 @@ skip_syntaxes (forwardp, string, lim) | |||
| 1907 | XSETFASTINT (lim, BEGV); | 1907 | XSETFASTINT (lim, BEGV); |
| 1908 | 1908 | ||
| 1909 | if (forwardp ? (PT >= XFASTINT (lim)) : (PT <= XFASTINT (lim))) | 1909 | if (forwardp ? (PT >= XFASTINT (lim)) : (PT <= XFASTINT (lim))) |
| 1910 | return Qnil; | 1910 | return make_number (0); |
| 1911 | 1911 | ||
| 1912 | multibyte = (!NILP (current_buffer->enable_multibyte_characters) | 1912 | multibyte = (!NILP (current_buffer->enable_multibyte_characters) |
| 1913 | && (XINT (lim) - PT != CHAR_TO_BYTE (XINT (lim)) - PT_BYTE)); | 1913 | && (XINT (lim) - PT != CHAR_TO_BYTE (XINT (lim)) - PT_BYTE)); |