Mercurial > emacs
annotate lisp/term/vt200.el @ 59189:60ffced08532
* term/mac-win.el: Require x-dnd.
(mac-drag-n-drop): Sync with W32 version. Use x-dnd.el functions.
* macfns.c (install_window_handler): Modify extern to return OSErr
value.
(mac_window): Handle return value of install_window_handler.
* macterm.c (reflect_byte): Remove function.
(mac_create_bitmap_from_bitmap_data): Don't call it. Lookup table
instead.
(mac_do_font_lists): Simplify calculation of the longest
nonspecial string.
[TARGET_API_MAC_CARBON] (init_mac_drag_n_drop): Remove function
and declaration.
(mac_initialize) [TARGET_API_MAC_CARBON]: Don't call it.
[TARGET_API_MAC_CARBON] (mac_do_track_drag): New function and
declaration.
(install_window_handler): Return OSErr value.
(install_window_handler) [TARGET_API_MAC_CARBON]: Register
handlers for tracking/receiving drag-and-drop items.
(do_ae_open_documents): Generate unibyte strings for filenames.
[TARGET_API_MAC_CARBON] (mac_do_receive_drag): Likewise. Reject
only non-filename items. Set event modifiers. Set return value.
author | Steven Tamm <steventamm@mac.com> |
---|---|
date | Wed, 29 Dec 2004 17:25:02 +0000 |
parents | 695cf19ef79e |
children | af1c58687bdd 7372c2f9daac 375f2633d815 |
rev | line source |
---|---|
47726
33d53d287ee4
Add "no-byte-compile: t" in first line.
Juanma Barranquero <lekktu@gmail.com>
parents:
38414
diff
changeset
|
1 ;; -*- no-byte-compile: t -*- |
3848
73eb72de291d
Translate F11 (ESC [ 23 ~) to ESC.
Richard M. Stallman <rms@gnu.org>
parents:
3289
diff
changeset
|
2 ;; For our purposes we can treat the vt200 and vt100 almost alike. |
73eb72de291d
Translate F11 (ESC [ 23 ~) to ESC.
Richard M. Stallman <rms@gnu.org>
parents:
3289
diff
changeset
|
3 ;; Most differences are handled by the termcap entry. |
3289 | 4 (load "term/vt100" nil t) |
3848
73eb72de291d
Translate F11 (ESC [ 23 ~) to ESC.
Richard M. Stallman <rms@gnu.org>
parents:
3289
diff
changeset
|
5 |
73eb72de291d
Translate F11 (ESC [ 23 ~) to ESC.
Richard M. Stallman <rms@gnu.org>
parents:
3289
diff
changeset
|
6 ;; Make F11 an escape key. |
73eb72de291d
Translate F11 (ESC [ 23 ~) to ESC.
Richard M. Stallman <rms@gnu.org>
parents:
3289
diff
changeset
|
7 (define-key function-key-map "\e[23~" [?\e]) |
38414
67b464da13ec
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
3848
diff
changeset
|
8 |
52401 | 9 ;;; arch-tag: 0f78f583-9f32-4237-b106-28bcfff21d89 |
38414
67b464da13ec
Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents:
3848
diff
changeset
|
10 ;;; vt200.el ends here |