From f105f36f46ee88c52dc5387c923048d107714540 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Fri, 21 Mar 2003 13:51:06 +0000 Subject: [PATCH] (estimate_mode_line_height): Move to xdisp.c. --- src/term.c | 20 -------------------- 1 file changed, 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)); void (*judge_scroll_bars_hook) P_ ((FRAME_PTR FRAME)); -/* Hook to call in estimate_mode_line_height, if any. */ - -int (* estimate_mode_line_height_hook) P_ ((struct frame *f, enum face_id)); - - /* Strings, numbers and flags taken from the termcap entry. */ char *TS_ins_line; /* "al" */ @@ -1807,21 +1802,6 @@ produce_special_glyphs (it, what) } -/* Return an estimation of the pixel height of mode or top lines on - frame F. FACE_ID specifies what line's height to estimate. */ - -int -estimate_mode_line_height (f, face_id) - struct frame *f; - enum face_id face_id; -{ - if (estimate_mode_line_height_hook) - return estimate_mode_line_height_hook (f, face_id); - else - return 1; -} - - /*********************************************************************** Faces -- 2.39.2