patches: fix Vreal_this_command linker error, squash into single patch
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
From 179fedabf11c99b33feb0282fd85ec2704bb795f Mon Sep 17 00:00:00 2001
|
||||
From 241b432a8a1a5d562a18b5a2ac293dfbd7ccb466 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Sukany <martin@sukany.cz>
|
||||
Date: Fri, 27 Feb 2026 07:38:05 +0100
|
||||
Date: Fri, 27 Feb 2026 07:43:09 +0100
|
||||
Subject: [PATCH] ns: implement VoiceOver accessibility (AXBoundsForRange, line
|
||||
nav, completions)
|
||||
|
||||
@@ -106,7 +106,7 @@ index 7c1ee4c..22828f2 100644
|
||||
|
||||
|
||||
diff --git a/src/nsterm.m b/src/nsterm.m
|
||||
index 932d209..ed2b5e6 100644
|
||||
index 932d209..fca5c15 100644
|
||||
--- a/src/nsterm.m
|
||||
+++ b/src/nsterm.m
|
||||
@@ -3232,6 +3232,37 @@ Note that CURSOR_WIDTH is meaningful only for (h)bar cursors.
|
||||
@@ -617,7 +617,7 @@ index 932d209..ed2b5e6 100644
|
||||
- NSView *buttons;
|
||||
- BOOL canceled;
|
||||
-#endif
|
||||
+ if (!SYMBOLP (real_this_command))
|
||||
+ if (!SYMBOLP (Vreal_this_command))
|
||||
+ return false;
|
||||
|
||||
-#ifdef NS_IMPL_GNUSTEP
|
||||
@@ -627,7 +627,7 @@ index 932d209..ed2b5e6 100644
|
||||
-#endif
|
||||
+ Lisp_Object next = intern ("next-line");
|
||||
+ Lisp_Object prev = intern ("previous-line");
|
||||
+ return EQ (real_this_command, next) || EQ (real_this_command, prev);
|
||||
+ return EQ (Vreal_this_command, next) || EQ (Vreal_this_command, prev);
|
||||
+}
|
||||
|
||||
-#ifdef NS_IMPL_COCOA
|
||||
|
||||
Reference in New Issue
Block a user