aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2013-09-29 19:27:09 +0300
committerEli Zaretskii2013-09-29 19:27:09 +0300
commit92e5298badf4683f345de10710b680bd1c302df5 (patch)
tree81541339ea1dd49fa4091dd878727746e77d0af8 /src
parent66d13b2080af9f35a789b01db07450101957c4f7 (diff)
downloademacs-92e5298badf4683f345de10710b680bd1c302df5.tar.gz
emacs-92e5298badf4683f345de10710b680bd1c302df5.zip
Fix bug #15484 with link error in the --without-x configuration.
src/xdisp.c (get_next_display_element): Don't call face_for_font in a build configured --without-x.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xdisp.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 784388e4304..2bedb2997ac 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12013-09-29 Eli Zaretskii <eliz@gnu.org>
2
3 * xdisp.c (get_next_display_element): Don't call face_for_font in
4 a build configured --without-x. (Bug#15484)
5
12013-09-29 Jan Djärv <jan.h.d@swipnet.se> 62013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2 7
3 * window.c (calc_absolute_offset): #elif should be #elif defined. 8 * window.c (calc_absolute_offset): #elif should be #elif defined.
diff --git a/src/xdisp.c b/src/xdisp.c
index 22ada204954..d348b1cc67e 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -6955,6 +6955,7 @@ get_next_display_element (struct it *it)
6955 } 6955 }
6956 } 6956 }
6957 6957
6958#ifdef HAVE_WINDOW_SYSTEM
6958 /* Adjust face id for a multibyte character. There are no multibyte 6959 /* Adjust face id for a multibyte character. There are no multibyte
6959 character in unibyte text. */ 6960 character in unibyte text. */
6960 if ((it->what == IT_CHARACTER || it->what == IT_COMPOSITION) 6961 if ((it->what == IT_CHARACTER || it->what == IT_COMPOSITION)
@@ -6995,6 +6996,7 @@ get_next_display_element (struct it *it)
6995 it->face_id = FACE_FOR_CHAR (it->f, face, c, pos, it->string); 6996 it->face_id = FACE_FOR_CHAR (it->f, face, c, pos, it->string);
6996 } 6997 }
6997 } 6998 }
6999#endif /* HAVE_WINDOW_SYSTEM */
6998 7000
6999 done: 7001 done:
7000 /* Is this character the last one of a run of characters with 7002 /* Is this character the last one of a run of characters with