diff options
| author | Po Lu | 2023-02-28 18:20:25 +0800 |
|---|---|---|
| committer | Po Lu | 2023-02-28 18:20:25 +0800 |
| commit | 03c0cb86713fe181211bab66fc5e12922d0742ea (patch) | |
| tree | 4fefd4d8e1580dc6e566ab2de53e5854f967e0d1 /src | |
| parent | d96dac96e79cc8801dd96413a8216c08fa4b79c8 (diff) | |
| parent | c5d319af475337beba9a0720a185e4ea3d375e07 (diff) | |
| download | emacs-03c0cb86713fe181211bab66fc5e12922d0742ea.tar.gz emacs-03c0cb86713fe181211bab66fc5e12922d0742ea.zip | |
Merge remote-tracking branch 'origin/master' into feature/android
Diffstat (limited to 'src')
| -rw-r--r-- | src/indent.c | 2 | ||||
| -rw-r--r-- | src/treesit.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/indent.c b/src/indent.c index 6de18d749ca..08d2bf5ea28 100644 --- a/src/indent.c +++ b/src/indent.c | |||
| @@ -2401,7 +2401,7 @@ whether or not it is currently displayed in some window. */) | |||
| 2401 | last line that it occupies. */ | 2401 | last line that it occupies. */ |
| 2402 | if (it_start < ZV) | 2402 | if (it_start < ZV) |
| 2403 | { | 2403 | { |
| 2404 | if ((it.bidi_it.scan_dir > 0) | 2404 | if ((it.bidi_it.scan_dir >= 0 || it.vpos == vpos_init) |
| 2405 | ? IT_CHARPOS (it) < it_start | 2405 | ? IT_CHARPOS (it) < it_start |
| 2406 | : IT_CHARPOS (it) > it_start) | 2406 | : IT_CHARPOS (it) > it_start) |
| 2407 | { | 2407 | { |
diff --git a/src/treesit.c b/src/treesit.c index ef0f2407840..5a4fe3e8803 100644 --- a/src/treesit.c +++ b/src/treesit.c | |||
| @@ -2484,7 +2484,7 @@ treesit_predicate_match (Lisp_Object args, struct capture_range captures) | |||
| 2484 | { | 2484 | { |
| 2485 | if (XFIXNUM (Flength (args)) != 2) | 2485 | if (XFIXNUM (Flength (args)) != 2) |
| 2486 | xsignal2 (Qtreesit_query_error, | 2486 | xsignal2 (Qtreesit_query_error, |
| 2487 | build_string ("Predicate `equal' requires two " | 2487 | build_string ("Predicate `match' requires two " |
| 2488 | "arguments but only given"), | 2488 | "arguments but only given"), |
| 2489 | Flength (args)); | 2489 | Flength (args)); |
| 2490 | 2490 | ||