Fix double chars in NS port.

Fixes: debbugs:19531

* nsterm.m (EV_TRAILER2): Set Vinhibit_quit to Qt.
This commit is contained in:
Jan Djärv 2015-01-20 17:22:14 +01:00
parent fd020a2931
commit a53b913229
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2015-01-20 Jan Djärv <jan.h.d@swipnet.se>
* nsterm.m (EV_TRAILER2): Set Vinhibit_quit to Qt (Bug#19531).
2015-01-20 Dmitry Antipov <dmantipov@yandex.ru>
Prefer xlispstrdup to avoid dumb calls to strlen.

View file

@ -373,8 +373,11 @@ - (NSColor *)colorUsingDefaultColorSpace
if (e) emacs_event->timestamp = EV_TIMESTAMP (e); \
if (q_event_ptr) \
{ \
Lisp_Object tem = Vinhibit_quit; \
Vinhibit_quit = Qt; \
n_emacs_events_pending++; \
kbd_buffer_store_event_hold (emacs_event, q_event_ptr); \
Vinhibit_quit = tem; \
} \
else \
hold_event (emacs_event); \