]> git.eshelyaron.com Git - emacs.git/commitdiff
* xfaces.c (PT_PER_INCH): Remove unused macro.
authorDmitry Antipov <dmantipov@yandex.ru>
Mon, 14 Oct 2013 10:55:24 +0000 (14:55 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Mon, 14 Oct 2013 10:55:24 +0000 (14:55 +0400)
* 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.

src/ChangeLog
src/nsterm.m
src/term.c
src/termhooks.h
src/w32term.c
src/xfaces.c
src/xterm.c

index 488313e4a1ed27735fe7adf3d387c5f791fcab30..9432c81ffd74a51749a121c16578431b6c5a6219 100644 (file)
@@ -1,3 +1,14 @@
+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.
index 6625d09b5ca502005e356e13c56c397c3689de61..5f034a4dff35eb75807126d2d13fc3136a61d78c 100644 (file)
@@ -4094,7 +4094,6 @@ ns_create_terminal (struct ns_display_info *dpyinfo)
   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;
index b946480cd0cb2f9771acb11119579f47f751f060..7cf0795aa7d9548b25cfcdaa7c5b14f06201c85e 100644 (file)
@@ -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 */
index 9cea0c188ec1f8dbbd3fbf5448791e82eec29067..2c819ad58e30a69cb0a48436d76592cb2ba33d1b 100644 (file)
@@ -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)
index 4587c7c06766bbe0b602d00cfbe6528ebe255195..1073179fa3467fea437cd01e26416ceb132f13e6 100644 (file)
@@ -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. */
 
index 7e83972955c22c5ccaa1bed203e555776b51cd2a..828788b4abdb1eac0318d554eea5c1fb0092d64e 100644 (file)
@@ -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"
index 3299255461fd821e9f9c6c0b047789e193182439..f73c093cefce49dc7b372dd456e23f87182f7420 100644 (file)
@@ -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. */