aboutsummaryrefslogtreecommitdiffstats
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorAndrew Choi2002-04-26 23:39:06 +0000
committerAndrew Choi2002-04-26 23:39:06 +0000
commite0f712ba55fa0d073f6ab93606e428f61fc7caf2 (patch)
tree7dc6d3403fafcbee1a83288ac840f7eba1d92b44 /src/keyboard.c
parent501d8923ae2cdec4ef50f050bb66d3715ba2a8f6 (diff)
downloademacs-e0f712ba55fa0d073f6ab93606e428f61fc7caf2.tar.gz
emacs-e0f712ba55fa0d073f6ab93606e428f61fc7caf2.zip
Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
lisp/ChangeLog, and src/ChangeLog for list of changes.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index cd3aa3793fb..d1c3681fdbc 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -71,7 +71,7 @@ Boston, MA 02111-1307, USA. */
71#include "w32term.h" 71#include "w32term.h"
72#endif /* HAVE_NTGUI */ 72#endif /* HAVE_NTGUI */
73 73
74#ifdef macintosh 74#ifdef MAC_OS
75#include "macterm.h" 75#include "macterm.h"
76#endif 76#endif
77 77
@@ -94,8 +94,8 @@ extern int input_fd;
94 94
95#ifdef HAVE_WINDOW_SYSTEM 95#ifdef HAVE_WINDOW_SYSTEM
96/* Make all keyboard buffers much bigger when using X windows. */ 96/* Make all keyboard buffers much bigger when using X windows. */
97#ifdef macintosh 97#ifdef MAC_OS8
98/* But not too big (local data > 32K error) if on macintosh. */ 98/* But not too big (local data > 32K error) if on Mac OS Classic. */
99#define KBD_BUFFER_SIZE 512 99#define KBD_BUFFER_SIZE 512
100#else 100#else
101#define KBD_BUFFER_SIZE 4096 101#define KBD_BUFFER_SIZE 4096
@@ -3687,7 +3687,7 @@ kbd_buffer_get_event (kbp, used_mouse_menu)
3687 abort (); 3687 abort ();
3688#endif 3688#endif
3689 } 3689 }
3690#if defined (HAVE_X11) || defined (HAVE_NTGUI) || defined (macintosh) 3690#if defined (HAVE_X11) || defined (HAVE_NTGUI) || defined (MAC_OS)
3691 else if (event->kind == delete_window_event) 3691 else if (event->kind == delete_window_event)
3692 { 3692 {
3693 /* Make an event (delete-frame (FRAME)). */ 3693 /* Make an event (delete-frame (FRAME)). */
@@ -3718,7 +3718,7 @@ kbd_buffer_get_event (kbp, used_mouse_menu)
3718 XSETBUFFER (obj, current_buffer); 3718 XSETBUFFER (obj, current_buffer);
3719 kbd_fetch_ptr = event + 1; 3719 kbd_fetch_ptr = event + 1;
3720 } 3720 }
3721#if defined (USE_X_TOOLKIT) || defined (HAVE_NTGUI) || defined (macintosh) 3721#if defined (USE_X_TOOLKIT) || defined (HAVE_NTGUI) || defined (MAC_OS)
3722 else if (event->kind == menu_bar_activate_event) 3722 else if (event->kind == menu_bar_activate_event)
3723 { 3723 {
3724 kbd_fetch_ptr = event + 1; 3724 kbd_fetch_ptr = event + 1;
@@ -5373,7 +5373,7 @@ make_lispy_event (event)
5373 } 5373 }
5374#endif /* HAVE_MOUSE */ 5374#endif /* HAVE_MOUSE */
5375 5375
5376#if defined (USE_X_TOOLKIT) || defined (HAVE_NTGUI) || defined (macintosh) 5376#if defined (USE_X_TOOLKIT) || defined (HAVE_NTGUI) || defined (MAC_OS)
5377 case MENU_BAR_EVENT: 5377 case MENU_BAR_EVENT:
5378 if (EQ (event->arg, event->frame_or_window)) 5378 if (EQ (event->arg, event->frame_or_window))
5379 /* This is the prefix key. We translate this to 5379 /* This is the prefix key. We translate this to