Mercurial > emacs
view admin/notes/newfile @ 107700:5860ffa0c5d9
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.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Mon, 29 Mar 2010 19:48:44 -0400 |
parents | dc1af63f6b73 |
children | 43f8ac6763d9 |
line wrap: on
line source
CHECKLIST FOR ADDING A NEW FILE TO EMACS -*- outline -*- ** Make sure the author(s) have a copyright assignment/disclaimer. ** Make sure the file matches the standard Emacs template (header format, copyright and license notice, etc). ** Make sure the filename does not cause the DOS port any problems (8+3). Run the `doschk' program like this: find /path/to/emacs -print | doschk and examine the output for DOS-related problems. The sections of output under the headings "The following files are not valid DOS file names:" and "The following resolve to the same DOS file names:" should not include any files that end up in the release tarball. ** Make the ChangeLog entry in the name of the author(s), not your own name. ** If appropriate, add an entry to lisp/Makefile.in ELCFILES. ** If appropriate, check that the file compiles OK and that Emacs builds fine with it. Address any compilation warnings. ** If a major contribution, consider adding an entry to the Acknowledgments in doc/emacs/emacs.texi and ack.texi. ** If appropriate, add a short NEWS entry. ** If appropriate, update make-dist (not needed with "standard" file names, eg *.el).