* src/nsterm.m (ns_set_represented_filename): Remove unused variable
'view'.
* src/nsfns.m (x_implicitly_set_name, syms_of_nsfns): The type of a
variable defined with DEFVAR_BOOL is 'bool', not 'Lisp_Object'.
{
NSTRACE ("x_implicitly_set_name");
- if (! NILP (ns_use_proxy_icon))
+ if (ns_use_proxy_icon)
ns_set_represented_filename (f);
ns_set_name (f, arg, 0);
DEFVAR_BOOL ("ns-use-proxy-icon", ns_use_proxy_icon,
doc: /* When non-nil display a proxy icon in the titlebar.
Default is t. */);
- ns_use_proxy_icon = Qt;
+ ns_use_proxy_icon = true;
defsubr (&Sns_read_file_name);
defsubr (&Sns_get_resource);
void
ns_set_represented_filename (struct frame *f)
{
- NSView *view;
Lisp_Object filename, encoded_filename;
Lisp_Object buf = XWINDOW (f->selected_window)->contents;
NSAutoreleasePool *pool;