aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm2003-03-21 13:51:06 +0000
committerKim F. Storm2003-03-21 13:51:06 +0000
commitf105f36f46ee88c52dc5387c923048d107714540 (patch)
treeaa0486cf92ddf40ff9f730c5f483fb0e1a24fa6c /src
parent36632fc12879881c369b6839cd3e265bd45cd063 (diff)
downloademacs-f105f36f46ee88c52dc5387c923048d107714540.tar.gz
emacs-f105f36f46ee88c52dc5387c923048d107714540.zip
(estimate_mode_line_height): Move to xdisp.c.
Diffstat (limited to 'src')
-rw-r--r--src/term.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/term.c b/src/term.c
index 9fe490786ea..68f522c506c 100644
--- a/src/term.c
+++ b/src/term.c
@@ -235,11 +235,6 @@ void (*redeem_scroll_bar_hook) P_ ((struct window *window));
235 235
236void (*judge_scroll_bars_hook) P_ ((FRAME_PTR FRAME)); 236void (*judge_scroll_bars_hook) P_ ((FRAME_PTR FRAME));
237 237
238/* Hook to call in estimate_mode_line_height, if any. */
239
240int (* estimate_mode_line_height_hook) P_ ((struct frame *f, enum face_id));
241
242
243/* Strings, numbers and flags taken from the termcap entry. */ 238/* Strings, numbers and flags taken from the termcap entry. */
244 239
245char *TS_ins_line; /* "al" */ 240char *TS_ins_line; /* "al" */
@@ -1807,21 +1802,6 @@ produce_special_glyphs (it, what)
1807} 1802}
1808 1803
1809 1804
1810/* Return an estimation of the pixel height of mode or top lines on
1811 frame F. FACE_ID specifies what line's height to estimate. */
1812
1813int
1814estimate_mode_line_height (f, face_id)
1815 struct frame *f;
1816 enum face_id face_id;
1817{
1818 if (estimate_mode_line_height_hook)
1819 return estimate_mode_line_height_hook (f, face_id);
1820 else
1821 return 1;
1822}
1823
1824
1825 1805
1826/*********************************************************************** 1806/***********************************************************************
1827 Faces 1807 Faces