aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog.unicode5
-rw-r--r--src/xfaces.c10
2 files changed, 15 insertions, 0 deletions
diff --git a/src/ChangeLog.unicode b/src/ChangeLog.unicode
index bafe8f57b43..59433903339 100644
--- a/src/ChangeLog.unicode
+++ b/src/ChangeLog.unicode
@@ -1,3 +1,8 @@
12005-06-05 Miles Bader <miles@gnu.org>
2
3 * xfaces.c (Finternal_lisp_face_equal_p): Restore previously
4 removed calculation of frame `f', as it's now used.
5
12005-05-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 62005-05-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2 7
3 * macterm.c (x_font_name_to_mac_font_name): Sync with trunk 8 * macterm.c (x_font_name_to_mac_font_name): Sync with trunk
diff --git a/src/xfaces.c b/src/xfaces.c
index 97bdd380dee..fc8a0bc05af 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -5135,8 +5135,18 @@ If FRAME is omitted or nil, use the selected frame. */)
5135 Lisp_Object face1, face2, frame; 5135 Lisp_Object face1, face2, frame;
5136{ 5136{
5137 int equal_p; 5137 int equal_p;
5138 struct frame *f;
5138 Lisp_Object lface1, lface2; 5139 Lisp_Object lface1, lface2;
5139 5140
5141 if (EQ (frame, Qt))
5142 f = NULL;
5143 else
5144 /* Don't use check_x_frame here because this function is called
5145 before X frames exist. At that time, if FRAME is nil,
5146 selected_frame will be used which is the frame dumped with
5147 Emacs. That frame is not an X frame. */
5148 f = frame_or_selected_frame (frame, 2);
5149
5140 lface1 = lface_from_face_name (f, face1, 1); 5150 lface1 = lface_from_face_name (f, face1, 1);
5141 lface2 = lface_from_face_name (f, face2, 1); 5151 lface2 = lface_from_face_name (f, face2, 1);
5142 equal_p = lface_equal_p (XVECTOR (lface1)->contents, 5152 equal_p = lface_equal_p (XVECTOR (lface1)->contents,