Commit 84257d93 authored by Chong Yidong's avatar Chong Yidong
Browse files

Fix crash on NextStep terminal (Bug#5837)

* xdisp.c (prepare_menu_bars): Don't call ns_set_doc_edited for
terminal frames (Bug#5837).
parent 46ac1194
2010-04-05 Chong Yidong <cyd@stupidchicken.com>
* xdisp.c (prepare_menu_bars): Don't call ns_set_doc_edited for
terminal frames (Bug#5837).
2010-03-31 Chong Yidong <cyd@stupidchicken.com> 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
   
* nsfns.m (ns_set_doc_edited): Remove unused arg OLDVAL. * nsfns.m (ns_set_doc_edited): Remove unused arg OLDVAL.
......
...@@ -9570,7 +9570,8 @@ prepare_menu_bars () ...@@ -9570,7 +9570,8 @@ prepare_menu_bars ()
update_tool_bar (f, 0); update_tool_bar (f, 0);
#endif #endif
#ifdef HAVE_NS #ifdef HAVE_NS
if (windows_or_buffers_changed) if (windows_or_buffers_changed
&& FRAME_NS_P (f))
ns_set_doc_edited (f, Fbuffer_modified_p ns_set_doc_edited (f, Fbuffer_modified_p
(XWINDOW (f->selected_window)->buffer)); (XWINDOW (f->selected_window)->buffer));
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment