+2013-11-30 Juanma Barranquero <lekktu@gmail.com>
+
+ * xdisp.c (Fwindow_text_pixel_size): Remove unused variables
+ `value' and `endp'.
+
+ * window.c (Fset_window_configuration): Comment out unused variables.
+
+ * w32term.c (w32_read_socket): Remove unused variable `buf'.
+
2013-11-30 Jan Djärv <jan.h.d@swipnet.se>
* xdisp.c (redisplay_internal): unrequest_sigio => request_sigio.
? FRAME_COLUMN_WIDTH (f)
: FRAME_LINE_HEIGHT (f));
}
- else
+ else
{
new_size= (horflag
? size
}
else
{
- line_height = -XINT (height);
+ line_height = -XINT (height);
pixel_height = line_height * FRAME_LINE_HEIGHT (f);
}
eassert (MINI_WINDOW_P (w));
- height = pixelwise ? w->pixel_height : w->total_lines;
+ height = pixelwise ? w->pixel_height : w->total_lines;
unit = pixelwise ? FRAME_LINE_HEIGHT (f) : 1;
if (height > unit)
{
back. We keep track of the prevailing height in these variables. */
int previous_frame_text_height = FRAME_TEXT_HEIGHT (f);
int previous_frame_text_width = FRAME_TEXT_WIDTH (f);
- int previous_frame_menu_bar_height = FRAME_MENU_BAR_HEIGHT (f);
- int previous_frame_tool_bar_height = FRAME_TOOL_BAR_HEIGHT (f);
- int previous_frame_lines = FRAME_LINES (f);
- int previous_frame_cols = FRAME_COLS (f);
+ /* int previous_frame_menu_bar_height = FRAME_MENU_BAR_HEIGHT (f); */
+ /* int previous_frame_tool_bar_height = FRAME_TOOL_BAR_HEIGHT (f); */
+ /* int previous_frame_lines = FRAME_LINES (f); */
+ /* int previous_frame_cols = FRAME_COLS (f); */
int previous_frame_menu_bar_lines = FRAME_MENU_BAR_LINES (f);
int previous_frame_tool_bar_lines = FRAME_TOOL_BAR_LINES (f);
/* This `select_window' calls record_buffer which calls Fdelq which
invokes QUIT, so we do it here at the end rather than earlier,
to minimize the risk of interrupting the Fset_window_configuration
- in an inconsistent state (e.g. before frame-focus redirection is
+ in an inconsistent state (e.g. before frame-focus redirection is
canceled). */
select_window (data->current_window, Qnil, 1);
BVAR (XBUFFER (XWINDOW (selected_window)->contents),
Lisp_Object mode_and_header_line)
{
struct window *w = decode_live_window (window);
- Lisp_Object buf, value;
+ Lisp_Object buf;
struct buffer *b;
struct it it;
struct buffer *old_buffer = NULL;
ptrdiff_t start, end, pos;
- struct text_pos startp, endp;
+ struct text_pos startp;
void *itdata = NULL;
int c, max_y = -1, x = 0, y = 0;