diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/nsfns.m | 4 | ||||
| -rw-r--r-- | src/nsterm.m | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/nsfns.m b/src/nsfns.m index bbb6644ce03..06827f6dd19 100644 --- a/src/nsfns.m +++ b/src/nsfns.m | |||
| @@ -482,7 +482,7 @@ x_implicitly_set_name (struct frame *f, Lisp_Object arg, Lisp_Object oldval) | |||
| 482 | { | 482 | { |
| 483 | NSTRACE ("x_implicitly_set_name"); | 483 | NSTRACE ("x_implicitly_set_name"); |
| 484 | 484 | ||
| 485 | if (! NILP (ns_use_proxy_icon)) | 485 | if (ns_use_proxy_icon) |
| 486 | ns_set_represented_filename (f); | 486 | ns_set_represented_filename (f); |
| 487 | 487 | ||
| 488 | ns_set_name (f, arg, 0); | 488 | ns_set_name (f, arg, 0); |
| @@ -3234,7 +3234,7 @@ be used as the image of the icon representing the frame. */); | |||
| 3234 | DEFVAR_BOOL ("ns-use-proxy-icon", ns_use_proxy_icon, | 3234 | DEFVAR_BOOL ("ns-use-proxy-icon", ns_use_proxy_icon, |
| 3235 | doc: /* When non-nil display a proxy icon in the titlebar. | 3235 | doc: /* When non-nil display a proxy icon in the titlebar. |
| 3236 | Default is t. */); | 3236 | Default is t. */); |
| 3237 | ns_use_proxy_icon = Qt; | 3237 | ns_use_proxy_icon = true; |
| 3238 | 3238 | ||
| 3239 | defsubr (&Sns_read_file_name); | 3239 | defsubr (&Sns_read_file_name); |
| 3240 | defsubr (&Sns_get_resource); | 3240 | defsubr (&Sns_get_resource); |
diff --git a/src/nsterm.m b/src/nsterm.m index 29aef0e9b6d..8a66643cfb7 100644 --- a/src/nsterm.m +++ b/src/nsterm.m | |||
| @@ -471,7 +471,6 @@ static void ns_judge_scroll_bars (struct frame *f); | |||
| 471 | void | 471 | void |
| 472 | ns_set_represented_filename (struct frame *f) | 472 | ns_set_represented_filename (struct frame *f) |
| 473 | { | 473 | { |
| 474 | NSView *view; | ||
| 475 | Lisp_Object filename, encoded_filename; | 474 | Lisp_Object filename, encoded_filename; |
| 476 | Lisp_Object buf = XWINDOW (f->selected_window)->contents; | 475 | Lisp_Object buf = XWINDOW (f->selected_window)->contents; |
| 477 | NSAutoreleasePool *pool; | 476 | NSAutoreleasePool *pool; |