Prevent non-local exits from ns-in-echo-area
authorPo Lu <luangruo@yahoo.com>
Sun, 13 Nov 2022 01:03:51 +0000 (09:03 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 13 Nov 2022 01:04:25 +0000 (09:04 +0800)
commit47b377f64bef8c3da519b3aa9c5c90b7199ba524
treec37db270f66eccf7d708fa0f384646b266d1cabe
parent9d334f558a1151ff12b7022a88c75ceb4f1fbdf4
Prevent non-local exits from ns-in-echo-area

* src/nsterm.m (ns_in_echo_area_1):
(ns_in_echo_area_2):
(ns_in_echo_area): New functions.
([EmacsView firstRectForCharacterRange:]): Call them instead.
(syms_of_nsterm): New defsym.
src/nsterm.m