aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2023-09-09 04:32:45 -0400
committerEli Zaretskii2023-09-09 04:32:45 -0400
commit0273914921833d2e2b6548cf69297c24a50cff74 (patch)
tree8007efa413cf93f51d1feb797f70256afba513a9 /src
parentf77ea3b2d75dbb6fd956f00b1c598d2664aa8400 (diff)
parentbc56da92d8df806ff9ec66be70920d98e0ef5b42 (diff)
downloademacs-0273914921833d2e2b6548cf69297c24a50cff74.tar.gz
emacs-0273914921833d2e2b6548cf69297c24a50cff74.zip
Merge from origin/emacs-29
bc56da92d8d ; Fix error in 'tex-recenter-output-buffer' d17c5adc057 Fix regexp for recognizing PBM images 9e9f61866e7 Improve wording in ELisp manual 7427efa033b Fix typo (Bug#65764) 59c66244080 ; * lisp/ido.el (ido-completion-buffer): Fix :type (bug#6... 4ec4b18c2a0 Fix libgccjit build on Haiku 80bdcf8f351 (regexp-tests-backtrack-optimization): Mark it as failing 8a9e653cc82 ; Add regression test for bug#65726 6fad73d7cc5 * src/regex-emacs.c (mutually_exclusive_p): Fix inf-loop ... 1d3d4196073 ; * lisp/files.el (save-some-buffers-functions): Doc fix ... 42b14c6e5bb Bump seq version to 2.24 ff5190a174f Add note on ELPA to admin/notes/bug-triage f1e4cbe72aa ; * etc/PROBLEMS: Minor wording fix. fd5593c7f25 * etc/PROBLEMS: Mention bug#65432 and its remedy. dd896ea1e62 Ignore errors when checking for object initializers (bug#... 3550f44c17c ; Fix typos 5b246b9b817 * CONTRIBUTE: Document making ChangeLogs with Magit. 0bd46619413 Doc fixes for obsolete functions and variables 524c0c34f24 ; * lisp/ffap.el (ffap-rfs-regexp): Fix :type (bug#65698). f48dccc4675 Merge branch 'emacs-29' of git.savannah.gnu.org:/srv/git/... 71a85e22668 A revision to the Widget manual dbbcf4a6599 Fix fontification of " in edit-kbd-macro # Conflicts: # test/src/regex-emacs-tests.el
Diffstat (limited to 'src')
-rw-r--r--src/buffer.h6
-rw-r--r--src/data.c2
-rw-r--r--src/regex-emacs.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/buffer.h b/src/buffer.h
index e71ffe28045..b2bd15657dc 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -656,9 +656,9 @@ struct buffer
656 ptrdiff_t last_window_start; 656 ptrdiff_t last_window_start;
657 657
658 /* If the long line scan cache is enabled (i.e. the buffer-local 658 /* If the long line scan cache is enabled (i.e. the buffer-local
659 variable cache-long-line-scans is non-nil), newline_cache 659 variable cache-long-scans is non-nil), newline_cache points to
660 points to the newline cache, and width_run_cache points to the 660 the newline cache, and width_run_cache points to the width run
661 width run cache. 661 cache.
662 662
663 The newline cache records which stretches of the buffer are 663 The newline cache records which stretches of the buffer are
664 known *not* to contain newlines, so that they can be skipped 664 known *not* to contain newlines, so that they can be skipped
diff --git a/src/data.c b/src/data.c
index 7db9e70f7ad..afb0b14c576 100644
--- a/src/data.c
+++ b/src/data.c
@@ -886,7 +886,7 @@ add_to_function_history (Lisp_Object symbol, Lisp_Object olddef)
886 Lisp_Object past = Fget (symbol, Qfunction_history); 886 Lisp_Object past = Fget (symbol, Qfunction_history);
887 Lisp_Object file = Qnil; 887 Lisp_Object file = Qnil;
888 /* FIXME: Sadly, `Vload_file_name` gives less precise information 888 /* FIXME: Sadly, `Vload_file_name` gives less precise information
889 (it's sometimes non-nil when it shoujld be nil). */ 889 (it's sometimes non-nil when it should be nil). */
890 Lisp_Object tail = Vcurrent_load_list; 890 Lisp_Object tail = Vcurrent_load_list;
891 FOR_EACH_TAIL_SAFE (tail) 891 FOR_EACH_TAIL_SAFE (tail)
892 if (NILP (XCDR (tail)) && STRINGP (XCAR (tail))) 892 if (NILP (XCDR (tail)) && STRINGP (XCAR (tail)))
diff --git a/src/regex-emacs.c b/src/regex-emacs.c
index 7e75f0ac597..394ba22e9b0 100644
--- a/src/regex-emacs.c
+++ b/src/regex-emacs.c
@@ -3832,7 +3832,7 @@ mutually_exclusive_p (struct re_pattern_buffer *bufp, re_char *p1,
3832 EXTRACT_NUMBER_AND_INCR (mcnt, p2); 3832 EXTRACT_NUMBER_AND_INCR (mcnt, p2);
3833 /* Don't just test `mcnt > 0` because non-greedy loops have 3833 /* Don't just test `mcnt > 0` because non-greedy loops have
3834 their test at the end with an unconditional jump at the start. */ 3834 their test at the end with an unconditional jump at the start. */
3835 if (p2 + mcnt > p2_orig) /* Ensure forward progress. */ 3835 if (p2 > p2_orig && mcnt >= 0) /* Ensure forward progress. */
3836 return (mutually_exclusive_p (bufp, p1, p2) 3836 return (mutually_exclusive_p (bufp, p1, p2)
3837 && mutually_exclusive_p (bufp, p1, p2 + mcnt)); 3837 && mutually_exclusive_p (bufp, p1, p2 + mcnt));
3838 break; 3838 break;