Mercurial > emacs
changeset 50227:453f13678753
(estimate_mode_line_height): Move to xdisp.c.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Fri, 21 Mar 2003 13:51:06 +0000 |
parents | 1ba638ccab28 |
children | 1f7f50fa8c98 |
files | src/term.c |
diffstat | 1 files changed, 0 insertions(+), 20 deletions(-) [+] |
line wrap: on
line diff
--- a/src/term.c Fri Mar 21 13:50:50 2003 +0000 +++ b/src/term.c Fri Mar 21 13:51:06 2003 +0000 @@ -235,11 +235,6 @@ 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 @@ } -/* 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