Commit ab48365b authored by Karl Heuer's avatar Karl Heuer
Browse files

(push_frame_kboard, pop_frame_kboard): Do nothing if !MULTI_KBOARD.

parent 01591d17
......@@ -800,6 +800,7 @@ void
push_frame_kboard (f)
FRAME_PTR f;
{
#ifdef MULTI_KBOARD
struct kboard_stack *p
= (struct kboard_stack *) xmalloc (sizeof (struct kboard_stack));
......@@ -808,15 +809,18 @@ push_frame_kboard (f)
kboard_stack = p;
current_kboard = FRAME_KBOARD (f);
#endif
}
void
pop_frame_kboard ()
{
#ifdef MULTI_KBOARD
struct kboard_stack *p = kboard_stack;
current_kboard = p->kboard;
kboard_stack = p->next;
xfree (p);
#endif
}
/* Handle errors that are not handled at inner levels
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment