[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/emacs-23 r99718: Fix crash on NextStep term
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/emacs-23 r99718: Fix crash on NextStep terminal (Bug#5837) |
Date: |
Mon, 05 Apr 2010 11:46:29 -0400 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 99718
committer: Chong Yidong <address@hidden>
branch nick: emacs-23
timestamp: Mon 2010-04-05 11:46:29 -0400
message:
Fix crash on NextStep terminal (Bug#5837)
* xdisp.c (prepare_menu_bars): Don't call ns_set_doc_edited for
terminal frames (Bug#5837).
modified:
src/ChangeLog
src/xdisp.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2010-04-02 02:22:17 +0000
+++ b/src/ChangeLog 2010-04-05 15:46:29 +0000
@@ -1,3 +1,8 @@
+2010-04-05 Chong Yidong <address@hidden>
+
+ * xdisp.c (prepare_menu_bars): Don't call ns_set_doc_edited for
+ terminal frames (Bug#5837).
+
2010-03-31 Chong Yidong <address@hidden>
* nsfns.m (ns_set_doc_edited): Remove unused arg OLDVAL.
=== modified file 'src/xdisp.c'
--- a/src/xdisp.c 2010-03-30 17:26:58 +0000
+++ b/src/xdisp.c 2010-04-05 15:46:29 +0000
@@ -9570,7 +9570,8 @@
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/emacs-23 r99718: Fix crash on NextStep terminal (Bug#5837),
Chong Yidong <=