[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r114658: * xfaces.c (PT_PER_INCH): Remove unused mac
From: |
Dmitry Antipov |
Subject: |
[Emacs-diffs] trunk r114658: * xfaces.c (PT_PER_INCH): Remove unused macro. |
Date: |
Mon, 14 Oct 2013 10:56:28 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 114658
revision-id: address@hidden
parent: address@hidden
committer: Dmitry Antipov <address@hidden>
branch nick: trunk
timestamp: Mon 2013-10-14 14:55:24 +0400
message:
* 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.
modified:
src/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1438
src/nsterm.m nsterm.m-20091113204419-o5vbwnq5f7feedwu-8747
src/term.c term.c-20091113204419-o5vbwnq5f7feedwu-220
src/termhooks.h termhooks.h-20091113204419-o5vbwnq5f7feedwu-249
src/w32term.c w32term.c-20091113204419-o5vbwnq5f7feedwu-950
src/xfaces.c xfaces.c-20091113204419-o5vbwnq5f7feedwu-560
src/xterm.c xterm.c-20091113204419-o5vbwnq5f7feedwu-244
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2013-10-14 07:12:49 +0000
+++ b/src/ChangeLog 2013-10-14 10:55:24 +0000
@@ -1,3 +1,14 @@
+2013-10-14 Dmitry Antipov <address@hidden>
+
+ * 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 <address@hidden>
* lisp.h (bool_vector_size): New function.
=== modified file 'src/nsterm.m'
--- a/src/nsterm.m 2013-10-10 06:48:42 +0000
+++ b/src/nsterm.m 2013-10-14 10:55:24 +0000
@@ -4094,7 +4094,6 @@
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;
=== modified file 'src/term.c'
--- a/src/term.c 2013-10-11 15:30:21 +0000
+++ b/src/term.c 2013-10-14 10:55:24 +0000
@@ -4408,8 +4408,6 @@
|| 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 */
=== modified file 'src/termhooks.h'
--- a/src/termhooks.h 2013-09-26 07:37:16 +0000
+++ b/src/termhooks.h 2013-10-14 10:55:24 +0000
@@ -408,8 +408,6 @@
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 @@
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)
=== modified file 'src/w32term.c'
--- a/src/w32term.c 2013-10-10 06:48:42 +0000
+++ b/src/w32term.c 2013-10-14 10:55:24 +0000
@@ -6255,7 +6255,6 @@
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. */
=== modified file 'src/xfaces.c'
--- a/src/xfaces.c 2013-10-09 14:53:13 +0000
+++ b/src/xfaces.c 2013-10-14 10:55:24 +0000
@@ -231,11 +231,6 @@
#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"
=== modified file 'src/xterm.c'
--- a/src/xterm.c 2013-10-10 06:48:42 +0000
+++ b/src/xterm.c 2013-10-14 10:55:24 +0000
@@ -10512,7 +10512,6 @@
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. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r114658: * xfaces.c (PT_PER_INCH): Remove unused macro.,
Dmitry Antipov <=