Mercurial > emacs
changeset 11366:1dbffccbd022
(push_frame_kboard, pop_frame_kboard): Do nothing if !MULTI_KBOARD.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Mon, 10 Apr 1995 23:43:57 +0000 |
parents | 1e2290c04cce |
children | 12e8599b11c1 |
files | src/keyboard.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/keyboard.c Mon Apr 10 23:06:13 1995 +0000 +++ b/src/keyboard.c Mon Apr 10 23:43:57 1995 +0000 @@ -800,6 +800,7 @@ 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 @@ 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