aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu2010-08-05 15:23:53 -0700
committerDan Nicolaescu2010-08-05 15:23:53 -0700
commit9f5dd6f226818138aadf2d0cc2562e26650a46b8 (patch)
tree3ccd47d14bcc8c859ac180dcfa5422d1feb6c195 /src
parent6254cdda90d55b2f93ca238ad84e86a69f8f9c8e (diff)
downloademacs-9f5dd6f226818138aadf2d0cc2562e26650a46b8.tar.gz
emacs-9f5dd6f226818138aadf2d0cc2562e26650a46b8.zip
* src/term.c: Remove dead code.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/term.c11
2 files changed, 2 insertions, 11 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 575c93566ae..59800035b80 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
12010-08-05 Dan Nicolaescu <dann@ics.uci.edu> 12010-08-05 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * term.c: Remove dead code.
4
3 Fix emacs -Q -f server-start & emacsclient -t on GNU/Linux. 5 Fix emacs -Q -f server-start & emacsclient -t on GNU/Linux.
4 * term.c (dissociate_if_controlling_tty): Use USG5 instead of 6 * term.c (dissociate_if_controlling_tty): Use USG5 instead of
5 USG. This is equivalent to defined (USG) && !defined (BSD_PGRPS), 7 USG. This is equivalent to defined (USG) && !defined (BSD_PGRPS),
diff --git a/src/term.c b/src/term.c
index f41aacb2742..5fdc4caeb2f 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1119,7 +1119,6 @@ per_line_cost (char *str)
1119 return cost; 1119 return cost;
1120} 1120}
1121 1121
1122#ifndef old
1123/* char_ins_del_cost[n] is cost of inserting N characters. 1122/* char_ins_del_cost[n] is cost of inserting N characters.
1124 char_ins_del_cost[-n] is cost of deleting N characters. 1123 char_ins_del_cost[-n] is cost of deleting N characters.
1125 The length of this vector is based on max_frame_cols. */ 1124 The length of this vector is based on max_frame_cols. */
@@ -1127,7 +1126,6 @@ per_line_cost (char *str)
1127int *char_ins_del_vector; 1126int *char_ins_del_vector;
1128 1127
1129#define char_ins_del_cost(f) (&char_ins_del_vector[FRAME_COLS ((f))]) 1128#define char_ins_del_cost(f) (&char_ins_del_vector[FRAME_COLS ((f))])
1130#endif
1131 1129
1132/* ARGSUSED */ 1130/* ARGSUSED */
1133static void 1131static void
@@ -1504,15 +1502,6 @@ term_get_fkeys_1 (void)
1504/*********************************************************************** 1502/***********************************************************************
1505 Character Display Information 1503 Character Display Information
1506 ***********************************************************************/ 1504 ***********************************************************************/
1507
1508/* Avoid name clash with functions defined in xterm.c */
1509#ifdef static
1510#define append_glyph append_glyph_term
1511#define produce_stretch_glyph produce_stretch_glyph_term
1512#define append_composite_glyph append_composite_glyph_term
1513#define produce_composite_glyph produce_composite_glyph_term
1514#endif
1515
1516static void append_glyph (struct it *); 1505static void append_glyph (struct it *);
1517static void produce_stretch_glyph (struct it *); 1506static void produce_stretch_glyph (struct it *);
1518static void append_composite_glyph (struct it *); 1507static void append_composite_glyph (struct it *);