aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/syntax.c b/src/syntax.c
index 8c08aa56a10..22339930b2b 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -639,7 +639,7 @@ and nil is returned.")
639 int val; 639 int val;
640 CHECK_NUMBER (count, 0); 640 CHECK_NUMBER (count, 0);
641 641
642 if (!(val = scan_words (point, XINT (count)))) 642 if (!(val = scan_words (PT, XINT (count))))
643 { 643 {
644 SET_PT (XINT (count) > 0 ? ZV : BEGV); 644 SET_PT (XINT (count) > 0 ? ZV : BEGV);
645 return Qnil; 645 return Qnil;
@@ -1401,7 +1401,7 @@ This includes chars with \"quote\" or \"prefix\" syntax (' or p).")
1401 () 1401 ()
1402{ 1402{
1403 int beg = BEGV; 1403 int beg = BEGV;
1404 int pos = point; 1404 int pos = PT;
1405 1405
1406 while (pos > beg && !char_quoted (pos - 1) 1406 while (pos > beg && !char_quoted (pos - 1)
1407 && (SYNTAX (FETCH_CHAR (pos - 1)) == Squote 1407 && (SYNTAX (FETCH_CHAR (pos - 1)) == Squote