aboutsummaryrefslogtreecommitdiffstats
path: root/src/nsterm.h
diff options
context:
space:
mode:
authorChong Yidong <[email protected]>2010-03-29 19:48:44 -0400
committerChong Yidong <[email protected]>2010-03-29 19:48:44 -0400
commit9ae6e189241f0b917d9b9c299738c79240151c59 (patch)
tree60ce2e3bf83af4dcc5c298bf92a337122747bd7e /src/nsterm.h
parent3cbcd186e13c3c27e3942a448d8cf708cf47c934 (diff)
Clean up unneeded ns_set_icon_type calls.
Patch from Adrian Robert, see http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01391.html * xdisp.c (x_consider_frame_title, update_window_cursor): Remove HAVE_NS conditionals. (prepare_menu_bars)[HAVE_NS]: Call ns_set_doc_edited. * nsfns.m (x_implicitly_set_name): If frame-title-format is t, use filename for the title. (ns_set_doc_edited): Do nothing if the selected window is a minibuffer window. * nsterm.h: Add prototypes for ns_set_name_as_filename and ns_set_doc_edited. * nsterm.m: Remove unneeded prototype.
Diffstat (limited to 'src/nsterm.h')
-rw-r--r--src/nsterm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nsterm.h b/src/nsterm.h
index 89ed5ba252..01086e63b6 100644
--- a/src/nsterm.h
+++ b/src/nsterm.h
@@ -708,6 +708,8 @@ extern void nxatoms_of_nsselect ();
extern int ns_lisp_to_cursor_type ();
extern Lisp_Object ns_cursor_type_to_lisp (int arg);
extern Lisp_Object Qnone;
+extern void ns_set_name_as_filename (struct frame *f);
+extern void ns_set_doc_edited (struct frame *f, Lisp_Object arg);
extern int
ns_defined_color (struct frame *f, char *name, XColor *color_def, int alloc,