Commit e558436b authored by Dmitry Antipov's avatar Dmitry Antipov

* xfaces.c (PT_PER_INCH): Remove unused macro.

* termhooks.h (struct terminal): Remove set-but-unused
member fast_clear_end_of_line.
(FRAME_FAST_CLEAR_END_OF_LINE): Remove.
* nsterm.m (ns_create_terminal):
* term.c (init_tty):
* w32term.c (w32_create_terminal):
* xterm.c (x_create_terminal): Adjust users.
parent 3083cf62
2013-10-14 Dmitry Antipov <dmantipov@yandex.ru>
* xfaces.c (PT_PER_INCH): Remove unused macro.
* termhooks.h (struct terminal): Remove set-but-unused
member fast_clear_end_of_line.
(FRAME_FAST_CLEAR_END_OF_LINE): Remove.
* nsterm.m (ns_create_terminal):
* term.c (init_tty):
* w32term.c (w32_create_terminal):
* xterm.c (x_create_terminal): Adjust users.
2013-10-14 Paul Eggert <eggert@cs.ucla.edu>
* lisp.h (bool_vector_size): New function.
......
......@@ -4094,7 +4094,6 @@ static Lisp_Object ns_string_to_lispmod (const char *s)
terminal->scroll_region_ok = 1;
terminal->char_ins_del_ok = 1;
terminal->line_ins_del_ok = 1;
terminal->fast_clear_end_of_line = 1;
terminal->memory_below_frame = 0;
return terminal;
......
......@@ -4408,8 +4408,6 @@ use the Bourne shell command `TERM=... export TERM' (C-shell:\n\
|| tty->TS_pad_inserted_char || tty->TS_ins_multi_chars)
&& (tty->TS_del_char || tty->TS_del_multi_chars));
terminal->fast_clear_end_of_line = tty->TS_clr_line != 0;
init_baud_rate (fileno (tty->input));
#endif /* not DOS_NT */
......
......@@ -408,8 +408,6 @@ struct terminal
int must_write_spaces; /* Nonzero means spaces in the text must
actually be output; can't just skip over
some columns to leave them blank. */
int fast_clear_end_of_line; /* Nonzero means terminal has a `ce' string. */
int line_ins_del_ok; /* Terminal can insert and delete lines. */
int char_ins_del_ok; /* Terminal can insert and delete chars. */
int scroll_region_ok; /* Terminal supports setting the scroll
......@@ -620,7 +618,6 @@ tset_selection_alist (struct terminal *t, Lisp_Object val)
extern struct terminal *terminal_list;
#define FRAME_MUST_WRITE_SPACES(f) ((f)->terminal->must_write_spaces)
#define FRAME_FAST_CLEAR_END_OF_LINE(f) ((f)->terminal->fast_clear_end_of_line)
#define FRAME_LINE_INS_DEL_OK(f) ((f)->terminal->line_ins_del_ok)
#define FRAME_CHAR_INS_DEL_OK(f) ((f)->terminal->char_ins_del_ok)
#define FRAME_SCROLL_REGION_OK(f) ((f)->terminal->scroll_region_ok)
......
......@@ -6255,7 +6255,6 @@ w32_create_terminal (struct w32_display_info *dpyinfo)
terminal->scroll_region_ok = 1; /* We'll scroll partial frames. */
terminal->char_ins_del_ok = 1;
terminal->line_ins_del_ok = 1; /* We'll just blt 'em. */
terminal->fast_clear_end_of_line = 1; /* X does this well. */
terminal->memory_below_frame = 0; /* We don't remember what scrolls
off the bottom. */
......
......@@ -231,11 +231,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#ifdef HAVE_NS
#define GCGraphicsExposures 0
#endif /* HAVE_NS */
/* Number of pt per inch (from the TeXbook). */
#define PT_PER_INCH 72.27
#endif /* HAVE_WINDOW_SYSTEM */
#include "buffer.h"
......
......@@ -10512,7 +10512,6 @@ x_create_terminal (struct x_display_info *dpyinfo)
terminal->scroll_region_ok = 1; /* We'll scroll partial frames. */
terminal->char_ins_del_ok = 1;
terminal->line_ins_del_ok = 1; /* We'll just blt 'em. */
terminal->fast_clear_end_of_line = 1; /* X does this well. */
terminal->memory_below_frame = 0; /* We don't remember what scrolls
off the bottom. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment