handle guile exceptions
authorRobin Templeton <robin@terpri.org>
Wed, 2 Apr 2014 08:14:49 +0000 (04:14 -0400)
committerRobin Templeton <robin@terpri.org>
Sun, 19 Apr 2015 07:41:11 +0000 (03:41 -0400)
commit3be86cc0df2dc9bad52c38b75c02c843ae875fd8
tree603e4b07bd967991310bb047c3011a05c23081f8
parent251d6798c1556b66bf3f1d88659c94c1a43d060c
handle guile exceptions

* src/keyboard.c (command_loop_2_body, command_loop_2_handler)
  (command_loop_2_inner): New functions.
  (top_level_2): Rename to 'top_level_2_body'.
  (command_loop_2, top_level_2): Use the above functions to catch
  Guile exceptions during initialization and in the command loop.
src/keyboard.c