Mercurial > emacs
comparison src/macselect.c @ 83632:cc587bfd19ca
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 781-792)
- Update from CVS
- Merge from gnus--rel--5.10
- Merge from emacs--rel--22
* emacs--rel--22 (patch 33-41)
* gnus--rel--5.10 (patch 226-228)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-21
| author | Miles Bader <miles@gnu.org> |
|---|---|
| date | Mon, 11 Jun 2007 01:00:07 +0000 |
| parents | b453bc0cb471 |
| children | b98604865ea0 |
comparison
equal
deleted
inserted
replaced
| 83631:7d63b897231b | 83632:cc587bfd19ca |
|---|---|
| 1621 | 1621 |
| 1622 /*********************************************************************** | 1622 /*********************************************************************** |
| 1623 Services menu support | 1623 Services menu support |
| 1624 ***********************************************************************/ | 1624 ***********************************************************************/ |
| 1625 #ifdef MAC_OSX | 1625 #ifdef MAC_OSX |
| 1626 void | 1626 OSStatus |
| 1627 init_service_handler () | 1627 install_service_handler () |
| 1628 { | 1628 { |
| 1629 static const EventTypeSpec specs[] = | 1629 static const EventTypeSpec specs[] = |
| 1630 {{kEventClassService, kEventServiceGetTypes}, | 1630 {{kEventClassService, kEventServiceGetTypes}, |
| 1631 {kEventClassService, kEventServiceCopy}, | 1631 {kEventClassService, kEventServiceCopy}, |
| 1632 {kEventClassService, kEventServicePaste}, | 1632 {kEventClassService, kEventServicePaste}, |
| 1633 {kEventClassService, kEventServicePerform}}; | 1633 {kEventClassService, kEventServicePerform}}; |
| 1634 InstallApplicationEventHandler (NewEventHandlerUPP (mac_handle_service_event), | 1634 |
| 1635 GetEventTypeCount (specs), specs, NULL, NULL); | 1635 return InstallApplicationEventHandler (NewEventHandlerUPP |
| 1636 (mac_handle_service_event), | |
| 1637 GetEventTypeCount (specs), | |
| 1638 specs, NULL, NULL); | |
| 1636 } | 1639 } |
| 1637 | 1640 |
| 1638 extern OSStatus mac_store_service_event P_ ((EventRef)); | 1641 extern OSStatus mac_store_service_event P_ ((EventRef)); |
| 1639 | 1642 |
| 1640 static OSStatus | 1643 static OSStatus |
