]> git.eshelyaron.com Git - emacs.git/commitdiff
(estimate_mode_line_height): Move to xdisp.c.
authorKim F. Storm <storm@cua.dk>
Fri, 21 Mar 2003 13:51:06 +0000 (13:51 +0000)
committerKim F. Storm <storm@cua.dk>
Fri, 21 Mar 2003 13:51:06 +0000 (13:51 +0000)
src/term.c

index 9fe490786eabc7f993f81ba3ddae1bb87fab2e09..68f522c506cbaae665ff20db31a8f440fbf68fda 100644 (file)
@@ -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;
-}
-
-
 \f
 /***********************************************************************
                                Faces