Commit c33070f4 authored by Jan Djärv's avatar Jan Djärv
Browse files

* nsfns.m (ns_set_doc_edited): Check for FRAME_NS.

Fixes: debbugs:18925
parent d228120d
2014-11-03 Jan Djärv <>
* nsfns.m (ns_set_doc_edited): Check for FRAME_NS (Bug#18925).
2014-10-31 Jan Djärv <>
* macfont.m (macfont_glyph_extents): Turn off syntetic bold
......@@ -641,8 +641,12 @@ Turn the input menu (an NSMenu) into a lisp list for tracking on lisp side
BOOL edited = NO;
struct frame *f = XFRAME (frame);
struct window *w = XWINDOW (FRAME_SELECTED_WINDOW (f));
NSView *view = FRAME_NS_VIEW (f);
struct window *w;
NSView *view;
if (! FRAME_NS_P (f)) continue;
view = FRAME_NS_VIEW (f);
if (!MINI_WINDOW_P (w))
edited = ! NILP (Fbuffer_modified_p (w->contents)) &&
! NILP (Fbuffer_file_name (w->contents));
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