diff options
| author | Kim F. Storm | 2003-03-21 13:51:06 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2003-03-21 13:51:06 +0000 |
| commit | f105f36f46ee88c52dc5387c923048d107714540 (patch) | |
| tree | aa0486cf92ddf40ff9f730c5f483fb0e1a24fa6c /src | |
| parent | 36632fc12879881c369b6839cd3e265bd45cd063 (diff) | |
| download | emacs-f105f36f46ee88c52dc5387c923048d107714540.tar.gz emacs-f105f36f46ee88c52dc5387c923048d107714540.zip | |
(estimate_mode_line_height): Move to xdisp.c.
Diffstat (limited to 'src')
| -rw-r--r-- | src/term.c | 20 |
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 | ||
| 236 | void (*judge_scroll_bars_hook) P_ ((FRAME_PTR FRAME)); | 236 | void (*judge_scroll_bars_hook) P_ ((FRAME_PTR FRAME)); |
| 237 | 237 | ||
| 238 | /* Hook to call in estimate_mode_line_height, if any. */ | ||
| 239 | |||
| 240 | int (* 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 | ||
| 245 | char *TS_ins_line; /* "al" */ | 240 | char *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 | |||
| 1813 | int | ||
| 1814 | estimate_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 |