* src/keyboard.c (keys_of_keyboard): Don't add ns-put-working-text
and ns-unput-working-text to Vspecial_event_map unless on NS port.
(cherry picked from commit
0065c9dbb8fb7d2b802e8f9a327f33049afec4ad)
initial_define_lispy_key (Vspecial_event_map, "end-session",
"kill-emacs");
#endif
+#ifdef HAVE_NS
initial_define_lispy_key (Vspecial_event_map, "ns-put-working-text",
"ns-put-working-text");
initial_define_lispy_key (Vspecial_event_map, "ns-unput-working-text",
"ns-unput-working-text");
+#endif
/* Here we used to use `ignore-event' which would simple set prefix-arg to
current-prefix-arg, as is done in `handle-switch-frame'.
But `handle-switch-frame is not run from the special-map.