mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-04 19:10:37 -08: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
ebb5722ecf
commit
b8a1d5a14b
2 changed files with 7 additions and 1 deletions
|
|
@ -327,6 +327,11 @@
|
|||
(gif_load): Put GIF extension data to the property
|
||||
`Qextension_data'.
|
||||
|
||||
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.
|
||||
|
|
|
|||
|
|
@ -9831,7 +9831,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…
Add table
Add a link
Reference in a new issue