diff options
| author | Karoly Lorentey | 2005-04-08 16:25:22 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2005-04-08 16:25:22 +0000 |
| commit | 1b9ab2508610fea57aa777956de14ee84d66862f (patch) | |
| tree | 81ea3750f64077094896b304ce977f065aed57c2 /src/mac.c | |
| parent | ee00ea6e18c2aeae86e262fae703f67f4705032a (diff) | |
| parent | 5b4879885e61279efd5a779369deeddfeea8c1fd (diff) | |
| download | emacs-1b9ab2508610fea57aa777956de14ee84d66862f.tar.gz emacs-1b9ab2508610fea57aa777956de14ee84d66862f.zip | |
Merged from miles@gnu.org--gnu-2005 (patch 56-58, 232-239)
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-232
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-233
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-234
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-235
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-236
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-237
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-238
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-239
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-56
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-57
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-58
Collapse feature addition/removal within single ChangeLog entry
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-325
Diffstat (limited to 'src/mac.c')
| -rw-r--r-- | src/mac.c | 35 |
1 files changed, 11 insertions, 24 deletions
| @@ -364,13 +364,13 @@ cfnumber_to_lisp (number) | |||
| 364 | 364 | ||
| 365 | 365 | ||
| 366 | /* CFDate to a list of three integers as in a return value of | 366 | /* CFDate to a list of three integers as in a return value of |
| 367 | `current-time'xo. */ | 367 | `current-time'. */ |
| 368 | 368 | ||
| 369 | Lisp_Object | 369 | Lisp_Object |
| 370 | cfdate_to_lisp (date) | 370 | cfdate_to_lisp (date) |
| 371 | CFDateRef date; | 371 | CFDateRef date; |
| 372 | { | 372 | { |
| 373 | static CFGregorianDate epoch_gdate = {1970, 1, 1, 0, 0, 0.0}; | 373 | static const CFGregorianDate epoch_gdate = {1970, 1, 1, 0, 0, 0.0}; |
| 374 | static CFAbsoluteTime epoch = 0.0, sec; | 374 | static CFAbsoluteTime epoch = 0.0, sec; |
| 375 | int high, low; | 375 | int high, low; |
| 376 | 376 | ||
| @@ -668,7 +668,7 @@ parse_resource_name (p) | |||
| 668 | return Qnil; | 668 | return Qnil; |
| 669 | 669 | ||
| 670 | result = Fcons (component, result); | 670 | result = Fcons (component, result); |
| 671 | while (binding = parse_binding (p)) | 671 | while ((binding = parse_binding (p)) != '\0') |
| 672 | { | 672 | { |
| 673 | if (binding == '*') | 673 | if (binding == '*') |
| 674 | result = Fcons (LOOSE_BINDING, result); | 674 | result = Fcons (LOOSE_BINDING, result); |
| @@ -3662,7 +3662,7 @@ corresponding Lisp object as follows: | |||
| 3662 | CFDate List of three integers date | 3662 | CFDate List of three integers date |
| 3663 | (cf. `current-time') | 3663 | (cf. `current-time') |
| 3664 | CFData Unibyte string data | 3664 | CFData Unibyte string data |
| 3665 | CFArray Array array | 3665 | CFArray Vector array |
| 3666 | CFDictionary Alist or hash table dictionary | 3666 | CFDictionary Alist or hash table dictionary |
| 3667 | (depending on HASH-BOUND) | 3667 | (depending on HASH-BOUND) |
| 3668 | 3668 | ||
| @@ -4174,26 +4174,13 @@ syms_of_mac () | |||
| 4174 | staticpro (&QCLIPBOARD); | 4174 | staticpro (&QCLIPBOARD); |
| 4175 | 4175 | ||
| 4176 | #if TARGET_API_MAC_CARBON | 4176 | #if TARGET_API_MAC_CARBON |
| 4177 | Qstring = intern ("string"); | 4177 | Qstring = intern ("string"); staticpro (&Qstring); |
| 4178 | staticpro (&Qstring); | 4178 | Qnumber = intern ("number"); staticpro (&Qnumber); |
| 4179 | 4179 | Qboolean = intern ("boolean"); staticpro (&Qboolean); | |
| 4180 | Qnumber = intern ("number"); | 4180 | Qdate = intern ("date"); staticpro (&Qdate); |
| 4181 | staticpro (&Qnumber); | 4181 | Qdata = intern ("data"); staticpro (&Qdata); |
| 4182 | 4182 | Qarray = intern ("array"); staticpro (&Qarray); | |
| 4183 | Qboolean = intern ("boolean"); | 4183 | Qdictionary = intern ("dictionary"); staticpro (&Qdictionary); |
| 4184 | staticpro (&Qboolean); | ||
| 4185 | |||
| 4186 | Qdate = intern ("date"); | ||
| 4187 | staticpro (&Qdate); | ||
| 4188 | |||
| 4189 | Qdata = intern ("data"); | ||
| 4190 | staticpro (&Qdata); | ||
| 4191 | |||
| 4192 | Qarray = intern ("array"); | ||
| 4193 | staticpro (&Qarray); | ||
| 4194 | |||
| 4195 | Qdictionary = intern ("dictionary"); | ||
| 4196 | staticpro (&Qdictionary); | ||
| 4197 | 4184 | ||
| 4198 | Qxml = intern ("xml"); | 4185 | Qxml = intern ("xml"); |
| 4199 | staticpro (&Qxml); | 4186 | staticpro (&Qxml); |