patches: review fixes — eassert, blank lines, Texinfo doc

- nsterm.m: Remove 2 stray blank lines at start of
  ns_ax_event_is_line_nav_key body
- nsterm.m: Add eassert([NSThread isMainThread]) to ensureTextCache
  for explicit main-thread contract enforcement
- New 0002 patch: Texinfo section in doc/emacs/macos.texi documenting
  VoiceOver accessibility, Zoom tracking, completion announcements
- README.txt: Updated file listing and patch index
This commit is contained in:
2026-02-27 17:15:18 +01:00
parent 65c799dc3f
commit b83a061322
3 changed files with 90 additions and 3 deletions

View File

@@ -786,12 +786,12 @@ index 932d209f..ea2de6f2 100644
+static bool
+ns_ax_event_is_line_nav_key (int *which)
+{
-
-#ifdef NS_IMPL_COCOA
- if (!canceled)
- font_panel_result = nil;
-#endif
-
- result = font_panel_result;
- font_panel_result = nil;
+ /* 1. Check Vthis_command for known navigation command symbols.
@@ -1431,6 +1431,7 @@ index 932d209f..ea2de6f2 100644
+ below are therefore safe without @synchronized — only the
+ write section at the end needs synchronization to protect
+ against concurrent reads from AX server thread. */
+ eassert ([NSThread isMainThread]);
+ struct window *w = [self validWindow];
+ if (!w || !WINDOW_LEAF_P (w))
+ return;