• Chong Yidong's avatar
    Clean up unneeded ns_set_icon_type calls. · 9ae6e189
    Chong Yidong authored
    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.
    9ae6e189
ChangeLog 750 KB