diff options
| author | Eli Zaretskii | 2012-07-28 10:59:34 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2012-07-28 10:59:34 +0300 |
| commit | df81cd291bc12c494fdeaeb7849ad7ef754dbbc1 (patch) | |
| tree | 4c5f29ba77974a2926d68b0f29b59d930047dc63 /src | |
| parent | 73e0cbc0f5d1f5a70b18f8357979142bb265669f (diff) | |
| download | emacs-df81cd291bc12c494fdeaeb7849ad7ef754dbbc1.tar.gz emacs-df81cd291bc12c494fdeaeb7849ad7ef754dbbc1.zip | |
Fix --without-x build.
src/xdisp.c (init_iterator): Don't reference tip_frame in a build
--without-x. (Bug#11742)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/xdisp.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 42b92de5c26..8d0e7caf4ea 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-07-28 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * xdisp.c (init_iterator): Don't reference tip_frame in a build | ||
| 4 | --without-x. (Bug#11742) | ||
| 5 | |||
| 1 | 2012-07-27 Paul Eggert <eggert@cs.ucla.edu> | 6 | 2012-07-27 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 7 | ||
| 3 | Adjust GDB to reflect pvec_type changes (Bug#12036). | 8 | Adjust GDB to reflect pvec_type changes (Bug#12036). |
diff --git a/src/xdisp.c b/src/xdisp.c index ecb9f0d50c9..a11b117f067 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -2736,7 +2736,11 @@ init_iterator (struct it *it, struct window *w, | |||
| 2736 | frames when the fringes are turned off. But leave the dimensions | 2736 | frames when the fringes are turned off. But leave the dimensions |
| 2737 | zero for tooltip frames, as these glyphs look ugly there and also | 2737 | zero for tooltip frames, as these glyphs look ugly there and also |
| 2738 | sabotage calculations of tooltip dimensions in x-show-tip. */ | 2738 | sabotage calculations of tooltip dimensions in x-show-tip. */ |
| 2739 | if (!(FRAMEP (tip_frame) && it->f == XFRAME (tip_frame))) | 2739 | #ifdef HAVE_WINDOW_SYSTEM |
| 2740 | if (!(FRAME_WINDOW_P (it->f) | ||
| 2741 | && FRAMEP (tip_frame) | ||
| 2742 | && it->f == XFRAME (tip_frame))) | ||
| 2743 | #endif | ||
| 2740 | { | 2744 | { |
| 2741 | if (it->line_wrap == TRUNCATE) | 2745 | if (it->line_wrap == TRUNCATE) |
| 2742 | { | 2746 | { |