mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-02 20:16:25 +00:00
Fix crash on NextStep terminal (Bug#5837)
* xdisp.c (prepare_menu_bars): Don't call ns_set_doc_edited for terminal frames (Bug#5837).
This commit is contained in:
parent
46ac1194bf
commit
84257d9314
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
* nsfns.m (ns_set_doc_edited): Remove unused arg OLDVAL.
|
||||
|
@ -9570,7 +9570,8 @@ prepare_menu_bars ()
|
||||
update_tool_bar (f, 0);
|
||||
#endif
|
||||
#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
|
||||
(XWINDOW (f->selected_window)->buffer));
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user