diff options
author | Andrew Choi <akochoi@shaw.ca> | 2000-10-23 17:49:59 +0000 |
---|---|---|
committer | Andrew Choi <akochoi@shaw.ca> | 2000-10-23 17:49:59 +0000 |
commit | 8f47302e255501c0e6d341ba3a57611e6d0e5834 (patch) | |
tree | 526e2ee90ff68a1e38c9a5c411d17f065897f65f /mac/src | |
parent | fa2c768f76b45b207e38d3fde7fb424f23293e1f (diff) | |
download | emacs-8f47302e255501c0e6d341ba3a57611e6d0e5834.tar.gz |
Andrew Choi <akochoi@i-cable.com>
* international/mule-conf.el (mac-roman-lower, mac-roman-upper):
New charsets.
* term/mac-win.el: Remove definitions of mac-roman-lower and
mac-roman-upper, require dired, and define instead of set
mac-ready-for-drag-n-drop to avoid compilation error.
* src/macterm.c (XTread_socket): check whether Lisp variable
mac-ready-for-drag-n-drop is bound rather than non-nil value.
Diffstat (limited to 'mac/src')
-rw-r--r-- | mac/src/macterm.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/mac/src/macterm.c b/mac/src/macterm.c index 194af28b91d..a23cf354b21 100644 --- a/mac/src/macterm.c +++ b/mac/src/macterm.c @@ -11123,7 +11123,7 @@ int current_mac_keyboard_text_encoding = kTextEncodingMacRoman; /* Set in term/mac-win.el to indicate that event loop can now generate drag and drop events. */ -Lisp_Object Vmac_ready_for_drag_n_drop; +Lisp_Object Qmac_ready_for_drag_n_drop; Lisp_Object drag_and_drop_file_list; @@ -11769,7 +11769,7 @@ XTread_socket (int sd, struct input_event *bufp, int numchars, int expected) bufp->arg = Qnil; event_mask = everyEvent; - if (NILP (Vmac_ready_for_drag_n_drop)) + if (NILP (Fboundp (Qmac_ready_for_drag_n_drop))) event_mask -= highLevelEventMask; if (WaitNextEvent (event_mask, &er, (expected ? app_sleep_time : 0L), NULL)) @@ -12038,7 +12038,7 @@ XTread_socket (int sd, struct input_event *bufp, int numchars, int expected) case kHighLevelEvent: drag_and_drop_file_list = Qnil; - + AEProcessAppleEvent(&er); /* Build a drag_n_drop type event as is done in @@ -12392,6 +12392,9 @@ syms_of_macterm () staticpro (&last_mouse_press_frame); last_mouse_press_frame = Qnil; + Qmac_ready_for_drag_n_drop = intern ("mac-ready-for-drag-n-drop"); + staticpro (&Qmac_ready_for_drag_n_drop); + help_echo = Qnil; staticpro (&help_echo); help_echo_object = Qnil; @@ -12424,11 +12427,6 @@ wide as that tab on the display."); Otherwise the option key is used."); Vmac_command_key_is_meta = Qt; - DEFVAR_LISP ("mac-ready-for-drag-n-drop", &Vmac_ready_for_drag_n_drop, - "Non-nil indicates that the Mac event loop can now generate drag and\n\ -drop events. Set in term/mac-win.el."); - Vmac_ready_for_drag_n_drop = Qnil; - DEFVAR_INT ("mac-keyboard-text-encoding", &mac_keyboard_text_encoding, "One of the Text Encoding Base constant values defined in the\n\ Basic Text Constants section of Inside Macintosh - Text Encoding\n\ |