diff options
| author | Miles Bader | 2005-04-09 02:16:29 +0000 |
|---|---|---|
| committer | Miles Bader | 2005-04-09 02:16:29 +0000 |
| commit | 768d4533ce51d61ce065b28f63aae43c7be0d1cc (patch) | |
| tree | fb2d103d5c9354b3a15550b160bba0ff2e22c418 /src | |
| parent | 918bcc18650840562677f841aa0bcaa34a069be5 (diff) | |
| parent | 2a9e192d3815d2c34fdd41d52590027805bc9055 (diff) | |
| download | emacs-768d4533ce51d61ce065b28f63aae43c7be0d1cc.tar.gz emacs-768d4533ce51d61ce065b28f63aae43c7be0d1cc.zip | |
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-35
Merge from emacs--cvs-trunk--0
Patches applied:
* emacs--cvs-trunk--0 (patch 228-240)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 53-58)
- Merge from emacs--cvs-trunk--0
- Update from CVS
- Collapse feature addition/removal within single ChangeLog entry
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 38 | ||||
| -rw-r--r-- | src/ChangeLog.6 | 4 | ||||
| -rw-r--r-- | src/alloc.c | 4 | ||||
| -rw-r--r-- | src/emacs.c | 2 | ||||
| -rw-r--r-- | src/eval.c | 7 | ||||
| -rw-r--r-- | src/lread.c | 56 | ||||
| -rw-r--r-- | src/mac.c | 35 | ||||
| -rw-r--r-- | src/macfns.c | 4 | ||||
| -rw-r--r-- | src/xdisp.c | 2 |
9 files changed, 101 insertions, 51 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a7c0dfdb8fa..170838bef49 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,37 @@ | |||
| 1 | 2005-04-09 Kim F. Storm <storm@cua.dk> | ||
| 2 | |||
| 3 | * lread.c (readevalloop): Add args START and END as region in | ||
| 4 | current buffer to read. Callers changed. | ||
| 5 | When specified, narrow to this region only when reading, | ||
| 6 | not during eval. Track next point to read from during eval. | ||
| 7 | Also restore point to "real" buffer position before eval. | ||
| 8 | (Feval_region): Don't save excursion and restriction here, and | ||
| 9 | don't narrow to region. Just pass region to readevalloop. | ||
| 10 | Note: Point is now preserved even when PRINTFLAG is nil. | ||
| 11 | |||
| 12 | 2005-04-08 Kim F. Storm <storm@cua.dk> | ||
| 13 | |||
| 14 | * xdisp.c (syms_of_xdisp): Init overlay-arrow-string to "=>". | ||
| 15 | |||
| 16 | 2005-04-06 Kim F. Storm <storm@cua.dk> | ||
| 17 | |||
| 18 | * emacs.c (standard_args): Add -Q, --bare-bones, -bare-bones. | ||
| 19 | |||
| 20 | 2005-04-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 21 | |||
| 22 | * mac.c (cfdate_to_lisp): Add `const' for variable `epoch_gdate'. | ||
| 23 | (Fmac_get_preference): Doc fix. | ||
| 24 | |||
| 25 | * macfns.c (Fx_create_frame, x_create_tip_frame): Add | ||
| 26 | "fontset-mac" to fallback font/fontsets. | ||
| 27 | |||
| 28 | 2005-04-04 Kim F. Storm <storm@cua.dk> | ||
| 29 | |||
| 30 | * alloc.c (Fgarbage_collect): Call CHECK_CONS_LIST before and after gc. | ||
| 31 | |||
| 32 | * eval.c (Ffuncall): Always call CHECK_CONS_LIST on entry. | ||
| 33 | Call it again after autoload. | ||
| 34 | |||
| 1 | 2005-04-02 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 35 | 2005-04-02 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> |
| 2 | 36 | ||
| 3 | * alloc.c (allocate_string_data): Call BLOCK_INPUT before calling | 37 | * alloc.c (allocate_string_data): Call BLOCK_INPUT before calling |
| @@ -2853,7 +2887,7 @@ | |||
| 2853 | 2887 | ||
| 2854 | * xfns.c (xic_create_xfontset): Initialize missing_list to NULL. | 2888 | * xfns.c (xic_create_xfontset): Initialize missing_list to NULL. |
| 2855 | 2889 | ||
| 2856 | 2004-10-21 K,Aa(Broly L$,1 q(Brentey <lorentey@elte.hu> | 2890 | 2004-10-21 K,Ba(Broly L,Bu(Brentey <lorentey@elte.hu> |
| 2857 | 2891 | ||
| 2858 | * xterm.h (x_output): New member `xic_base_fontname'. | 2892 | * xterm.h (x_output): New member `xic_base_fontname'. |
| 2859 | (FRAME_XIC_BASE_FONTNAME): New macro. | 2893 | (FRAME_XIC_BASE_FONTNAME): New macro. |
| @@ -4134,7 +4168,7 @@ | |||
| 4134 | * keyboard.c (cmd_error): Don't call any_kboard_state | 4168 | * keyboard.c (cmd_error): Don't call any_kboard_state |
| 4135 | if inside a recursive edit level. | 4169 | if inside a recursive edit level. |
| 4136 | 4170 | ||
| 4137 | 2004-06-13 Lorentey K,Aa(Broly <lorentey@elte.hu> | 4171 | 2004-06-13 K,Ba(Broly L,Bu(Brentey <lorentey@elte.hu> |
| 4138 | 4172 | ||
| 4139 | * keyboard.c (command_loop): Call any_kboard_state before | 4173 | * keyboard.c (command_loop): Call any_kboard_state before |
| 4140 | command_loop_2 when at top level. | 4174 | command_loop_2 when at top level. |
diff --git a/src/ChangeLog.6 b/src/ChangeLog.6 index 52e48cac275..2da83619eb4 100644 --- a/src/ChangeLog.6 +++ b/src/ChangeLog.6 | |||
| @@ -1079,7 +1079,7 @@ | |||
| 1079 | scroll_bar_up_arrow, scroll_bar_down_arrow. | 1079 | scroll_bar_up_arrow, scroll_bar_down_arrow. |
| 1080 | (win32_scroll_bar_click): New enum constant. | 1080 | (win32_scroll_bar_click): New enum constant. |
| 1081 | 1081 | ||
| 1082 | 1996-05-03 Andrw Innes <andrewi@harlequin.co.uk> | 1082 | 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk> |
| 1083 | 1083 | ||
| 1084 | * makefile.nt (SUBSYSTEM) [NTGUI]: Remove conditional. | 1084 | * makefile.nt (SUBSYSTEM) [NTGUI]: Remove conditional. |
| 1085 | (LINK_FLAGS): Explicitly set base address, and stack and heap sizes. | 1085 | (LINK_FLAGS): Explicitly set base address, and stack and heap sizes. |
| @@ -4817,7 +4817,7 @@ | |||
| 4817 | (Fmemory_use_counts): New function. | 4817 | (Fmemory_use_counts): New function. |
| 4818 | (syms_of_alloc): defsubr it. | 4818 | (syms_of_alloc): defsubr it. |
| 4819 | 4819 | ||
| 4820 | 1995-07-28 Gvran Uddeborg <uddeborg@carmen.se> | 4820 | 1995-07-28 Gรถran Uddeborg <uddeborg@carmen.se> |
| 4821 | 4821 | ||
| 4822 | * s/isc4-1.h: ISC 4.1 has termios. | 4822 | * s/isc4-1.h: ISC 4.1 has termios. |
| 4823 | 4823 | ||
diff --git a/src/alloc.c b/src/alloc.c index aee09c3f16c..1aa07b01da2 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -4644,6 +4644,8 @@ returns nil, because real GC can't be done. */) | |||
| 4644 | if (pure_bytes_used_before_overflow) | 4644 | if (pure_bytes_used_before_overflow) |
| 4645 | return Qnil; | 4645 | return Qnil; |
| 4646 | 4646 | ||
| 4647 | CHECK_CONS_LIST (); | ||
| 4648 | |||
| 4647 | /* Don't keep undo information around forever. | 4649 | /* Don't keep undo information around forever. |
| 4648 | Do this early on, so it is no problem if the user quits. */ | 4650 | Do this early on, so it is no problem if the user quits. */ |
| 4649 | { | 4651 | { |
| @@ -4837,6 +4839,8 @@ returns nil, because real GC can't be done. */) | |||
| 4837 | 4839 | ||
| 4838 | UNBLOCK_INPUT; | 4840 | UNBLOCK_INPUT; |
| 4839 | 4841 | ||
| 4842 | CHECK_CONS_LIST (); | ||
| 4843 | |||
| 4840 | /* clear_marks (); */ | 4844 | /* clear_marks (); */ |
| 4841 | gc_in_progress = 0; | 4845 | gc_in_progress = 0; |
| 4842 | 4846 | ||
diff --git a/src/emacs.c b/src/emacs.c index feac88d71ae..1ddde867d0b 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -1814,6 +1814,8 @@ struct standard_args standard_args[] = | |||
| 1814 | { "-d", "--display", 60, 1 }, | 1814 | { "-d", "--display", 60, 1 }, |
| 1815 | { "-display", 0, 60, 1 }, | 1815 | { "-display", 0, 60, 1 }, |
| 1816 | /* Now for the options handled in startup.el. */ | 1816 | /* Now for the options handled in startup.el. */ |
| 1817 | { "-Q", "--bare-bones", 55, 0 }, | ||
| 1818 | { "-bare-bones", 0, 55, 0 }, | ||
| 1817 | { "-q", "--no-init-file", 50, 0 }, | 1819 | { "-q", "--no-init-file", 50, 0 }, |
| 1818 | { "-no-init-file", 0, 50, 0 }, | 1820 | { "-no-init-file", 0, 50, 0 }, |
| 1819 | { "-no-site-file", "--no-site-file", 40, 0 }, | 1821 | { "-no-site-file", "--no-site-file", 40, 0 }, |
diff --git a/src/eval.c b/src/eval.c index bf4fec4f8a1..8700ca222ce 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -2742,6 +2742,8 @@ usage: (funcall FUNCTION &rest ARGUMENTS) */) | |||
| 2742 | if (debug_on_next_call) | 2742 | if (debug_on_next_call) |
| 2743 | do_debug_on_call (Qlambda); | 2743 | do_debug_on_call (Qlambda); |
| 2744 | 2744 | ||
| 2745 | CHECK_CONS_LIST (); | ||
| 2746 | |||
| 2745 | retry: | 2747 | retry: |
| 2746 | 2748 | ||
| 2747 | fun = args[0]; | 2749 | fun = args[0]; |
| @@ -2750,9 +2752,7 @@ usage: (funcall FUNCTION &rest ARGUMENTS) */) | |||
| 2750 | 2752 | ||
| 2751 | if (SUBRP (fun)) | 2753 | if (SUBRP (fun)) |
| 2752 | { | 2754 | { |
| 2753 | CHECK_CONS_LIST (); | 2755 | if (numargs < XSUBR (fun)->min_args |
| 2754 | |||
| 2755 | if (numargs < XSUBR (fun)->min_args | ||
| 2756 | || (XSUBR (fun)->max_args >= 0 && XSUBR (fun)->max_args < numargs)) | 2756 | || (XSUBR (fun)->max_args >= 0 && XSUBR (fun)->max_args < numargs)) |
| 2757 | { | 2757 | { |
| 2758 | XSETFASTINT (lisp_numargs, numargs); | 2758 | XSETFASTINT (lisp_numargs, numargs); |
| @@ -2844,6 +2844,7 @@ usage: (funcall FUNCTION &rest ARGUMENTS) */) | |||
| 2844 | else if (EQ (funcar, Qautoload)) | 2844 | else if (EQ (funcar, Qautoload)) |
| 2845 | { | 2845 | { |
| 2846 | do_autoload (fun, args[0]); | 2846 | do_autoload (fun, args[0]); |
| 2847 | CHECK_CONS_LIST (); | ||
| 2847 | goto retry; | 2848 | goto retry; |
| 2848 | } | 2849 | } |
| 2849 | else | 2850 | else |
diff --git a/src/lread.c b/src/lread.c index 709db3bf29e..9b0b5b90ec6 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -218,6 +218,7 @@ static int read_emacs_mule_char P_ ((int, int (*) (int, Lisp_Object), | |||
| 218 | 218 | ||
| 219 | static void readevalloop P_ ((Lisp_Object, FILE*, Lisp_Object, | 219 | static void readevalloop P_ ((Lisp_Object, FILE*, Lisp_Object, |
| 220 | Lisp_Object (*) (), int, | 220 | Lisp_Object (*) (), int, |
| 221 | Lisp_Object, Lisp_Object, | ||
| 221 | Lisp_Object, Lisp_Object)); | 222 | Lisp_Object, Lisp_Object)); |
| 222 | static Lisp_Object load_unwind P_ ((Lisp_Object)); | 223 | static Lisp_Object load_unwind P_ ((Lisp_Object)); |
| 223 | static Lisp_Object load_descriptor_unwind P_ ((Lisp_Object)); | 224 | static Lisp_Object load_descriptor_unwind P_ ((Lisp_Object)); |
| @@ -1097,14 +1098,15 @@ Return t if file exists. */) | |||
| 1097 | = Fcons (make_number (fileno (stream)), load_descriptor_list); | 1098 | = Fcons (make_number (fileno (stream)), load_descriptor_list); |
| 1098 | load_in_progress++; | 1099 | load_in_progress++; |
| 1099 | if (! version || version >= 22) | 1100 | if (! version || version >= 22) |
| 1100 | readevalloop (Qget_file_char, stream, file, Feval, 0, Qnil, Qnil); | 1101 | readevalloop (Qget_file_char, stream, file, Feval, |
| 1102 | 0, Qnil, Qnil, Qnil, Qnil); | ||
| 1101 | else | 1103 | else |
| 1102 | { | 1104 | { |
| 1103 | /* We can't handle a file which was compiled with | 1105 | /* We can't handle a file which was compiled with |
| 1104 | byte-compile-dynamic by older version of Emacs. */ | 1106 | byte-compile-dynamic by older version of Emacs. */ |
| 1105 | specbind (Qload_force_doc_strings, Qt); | 1107 | specbind (Qload_force_doc_strings, Qt); |
| 1106 | readevalloop (Qget_emacs_mule_file_char, stream, file, Feval, 0, | 1108 | readevalloop (Qget_emacs_mule_file_char, stream, file, Feval, |
| 1107 | Qnil, Qnil); | 1109 | 0, Qnil, Qnil, Qnil, Qnil); |
| 1108 | } | 1110 | } |
| 1109 | unbind_to (count, Qnil); | 1111 | unbind_to (count, Qnil); |
| 1110 | 1112 | ||
| @@ -1483,16 +1485,19 @@ end_of_file_error () | |||
| 1483 | 1485 | ||
| 1484 | /* UNIBYTE specifies how to set load_convert_to_unibyte | 1486 | /* UNIBYTE specifies how to set load_convert_to_unibyte |
| 1485 | for this invocation. | 1487 | for this invocation. |
| 1486 | READFUN, if non-nil, is used instead of `read'. */ | 1488 | READFUN, if non-nil, is used instead of `read'. |
| 1489 | START, END is region in current buffer (from eval-region). */ | ||
| 1487 | 1490 | ||
| 1488 | static void | 1491 | static void |
| 1489 | readevalloop (readcharfun, stream, sourcename, evalfun, printflag, unibyte, readfun) | 1492 | readevalloop (readcharfun, stream, sourcename, evalfun, |
| 1493 | printflag, unibyte, readfun, start, end) | ||
| 1490 | Lisp_Object readcharfun; | 1494 | Lisp_Object readcharfun; |
| 1491 | FILE *stream; | 1495 | FILE *stream; |
| 1492 | Lisp_Object sourcename; | 1496 | Lisp_Object sourcename; |
| 1493 | Lisp_Object (*evalfun) (); | 1497 | Lisp_Object (*evalfun) (); |
| 1494 | int printflag; | 1498 | int printflag; |
| 1495 | Lisp_Object unibyte, readfun; | 1499 | Lisp_Object unibyte, readfun; |
| 1500 | Lisp_Object start, end; | ||
| 1496 | { | 1501 | { |
| 1497 | register int c; | 1502 | register int c; |
| 1498 | register Lisp_Object val; | 1503 | register Lisp_Object val; |
| @@ -1518,28 +1523,41 @@ readevalloop (readcharfun, stream, sourcename, evalfun, printflag, unibyte, read | |||
| 1518 | continue_reading_p = 1; | 1523 | continue_reading_p = 1; |
| 1519 | while (continue_reading_p) | 1524 | while (continue_reading_p) |
| 1520 | { | 1525 | { |
| 1526 | int count1 = SPECPDL_INDEX (); | ||
| 1527 | |||
| 1521 | if (b != 0 && NILP (b->name)) | 1528 | if (b != 0 && NILP (b->name)) |
| 1522 | error ("Reading from killed buffer"); | 1529 | error ("Reading from killed buffer"); |
| 1523 | 1530 | ||
| 1531 | if (!NILP (start)) | ||
| 1532 | { | ||
| 1533 | record_unwind_protect (save_excursion_restore, save_excursion_save ()); | ||
| 1534 | record_unwind_protect (save_restriction_restore, save_restriction_save ()); | ||
| 1535 | Fgoto_char (start); | ||
| 1536 | Fnarrow_to_region (make_number (BEGV), end); | ||
| 1537 | } | ||
| 1538 | |||
| 1524 | instream = stream; | 1539 | instream = stream; |
| 1540 | read_next: | ||
| 1525 | c = READCHAR; | 1541 | c = READCHAR; |
| 1526 | if (c == ';') | 1542 | if (c == ';') |
| 1527 | { | 1543 | { |
| 1528 | while ((c = READCHAR) != '\n' && c != -1); | 1544 | while ((c = READCHAR) != '\n' && c != -1); |
| 1529 | continue; | 1545 | goto read_next; |
| 1546 | } | ||
| 1547 | if (c < 0) | ||
| 1548 | { | ||
| 1549 | unbind_to (count1, Qnil); | ||
| 1550 | break; | ||
| 1530 | } | 1551 | } |
| 1531 | if (c < 0) break; | ||
| 1532 | 1552 | ||
| 1533 | /* Ignore whitespace here, so we can detect eof. */ | 1553 | /* Ignore whitespace here, so we can detect eof. */ |
| 1534 | if (c == ' ' || c == '\t' || c == '\n' || c == '\f' || c == '\r') | 1554 | if (c == ' ' || c == '\t' || c == '\n' || c == '\f' || c == '\r') |
| 1535 | continue; | 1555 | goto read_next; |
| 1536 | 1556 | ||
| 1537 | if (!NILP (Vpurify_flag) && c == '(') | 1557 | if (!NILP (Vpurify_flag) && c == '(') |
| 1538 | { | 1558 | { |
| 1539 | int count1 = SPECPDL_INDEX (); | ||
| 1540 | record_unwind_protect (unreadpure, Qnil); | 1559 | record_unwind_protect (unreadpure, Qnil); |
| 1541 | val = read_list (-1, readcharfun); | 1560 | val = read_list (-1, readcharfun); |
| 1542 | unbind_to (count1, Qnil); | ||
| 1543 | } | 1561 | } |
| 1544 | else | 1562 | else |
| 1545 | { | 1563 | { |
| @@ -1565,6 +1583,10 @@ readevalloop (readcharfun, stream, sourcename, evalfun, printflag, unibyte, read | |||
| 1565 | val = read_internal_start (readcharfun, Qnil, Qnil); | 1583 | val = read_internal_start (readcharfun, Qnil, Qnil); |
| 1566 | } | 1584 | } |
| 1567 | 1585 | ||
| 1586 | if (!NILP (start) && continue_reading_p) | ||
| 1587 | start = Fpoint_marker (); | ||
| 1588 | unbind_to (count1, Qnil); | ||
| 1589 | |||
| 1568 | val = (*evalfun) (val); | 1590 | val = (*evalfun) (val); |
| 1569 | 1591 | ||
| 1570 | if (printflag) | 1592 | if (printflag) |
| @@ -1623,7 +1645,8 @@ This function preserves the position of point. */) | |||
| 1623 | specbind (Qstandard_output, tem); | 1645 | specbind (Qstandard_output, tem); |
| 1624 | record_unwind_protect (save_excursion_restore, save_excursion_save ()); | 1646 | record_unwind_protect (save_excursion_restore, save_excursion_save ()); |
| 1625 | BUF_SET_PT (XBUFFER (buf), BUF_BEGV (XBUFFER (buf))); | 1647 | BUF_SET_PT (XBUFFER (buf), BUF_BEGV (XBUFFER (buf))); |
| 1626 | readevalloop (buf, 0, filename, Feval, !NILP (printflag), unibyte, Qnil); | 1648 | readevalloop (buf, 0, filename, Feval, |
| 1649 | !NILP (printflag), unibyte, Qnil, Qnil, Qnil); | ||
| 1627 | unbind_to (count, Qnil); | 1650 | unbind_to (count, Qnil); |
| 1628 | 1651 | ||
| 1629 | return Qnil; | 1652 | return Qnil; |
| @@ -1655,15 +1678,10 @@ This function does not move point. */) | |||
| 1655 | tem = printflag; | 1678 | tem = printflag; |
| 1656 | specbind (Qstandard_output, tem); | 1679 | specbind (Qstandard_output, tem); |
| 1657 | 1680 | ||
| 1658 | if (NILP (printflag)) | 1681 | /* readevalloop calls functions which check the type of start and end. */ |
| 1659 | record_unwind_protect (save_excursion_restore, save_excursion_save ()); | ||
| 1660 | record_unwind_protect (save_restriction_restore, save_restriction_save ()); | ||
| 1661 | |||
| 1662 | /* This both uses start and checks its type. */ | ||
| 1663 | Fgoto_char (start); | ||
| 1664 | Fnarrow_to_region (make_number (BEGV), end); | ||
| 1665 | readevalloop (cbuf, 0, XBUFFER (cbuf)->filename, Feval, | 1682 | readevalloop (cbuf, 0, XBUFFER (cbuf)->filename, Feval, |
| 1666 | !NILP (printflag), Qnil, read_function); | 1683 | !NILP (printflag), Qnil, read_function, |
| 1684 | start, end); | ||
| 1667 | 1685 | ||
| 1668 | return unbind_to (count, Qnil); | 1686 | return unbind_to (count, Qnil); |
| 1669 | } | 1687 | } |
| @@ -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); |
diff --git a/src/macfns.c b/src/macfns.c index fa37a1b298b..78365ce3c0c 100644 --- a/src/macfns.c +++ b/src/macfns.c | |||
| @@ -2632,6 +2632,8 @@ This function is an internal primitive--use `make-frame' instead. */) | |||
| 2632 | font = x_new_font (f, "-ETL-fixed-medium-r-*--*-160-*-*-*-*-iso8859-1"); | 2632 | font = x_new_font (f, "-ETL-fixed-medium-r-*--*-160-*-*-*-*-iso8859-1"); |
| 2633 | /* If those didn't work, look for something which will at least work. */ | 2633 | /* If those didn't work, look for something which will at least work. */ |
| 2634 | if (! STRINGP (font)) | 2634 | if (! STRINGP (font)) |
| 2635 | font = x_new_fontset (f, "fontset-mac"); | ||
| 2636 | if (! STRINGP (font)) | ||
| 2635 | font = x_new_font (f, "-*-monaco-*-12-*-mac-roman"); | 2637 | font = x_new_font (f, "-*-monaco-*-12-*-mac-roman"); |
| 2636 | if (! STRINGP (font)) | 2638 | if (! STRINGP (font)) |
| 2637 | font = x_new_font (f, "-*-courier-*-10-*-mac-roman"); | 2639 | font = x_new_font (f, "-*-courier-*-10-*-mac-roman"); |
| @@ -3732,6 +3734,8 @@ x_create_tip_frame (dpyinfo, parms, text) | |||
| 3732 | font = x_new_font (f, "-ETL-fixed-medium-r-*--*-160-*-*-*-*-iso8859-1"); | 3734 | font = x_new_font (f, "-ETL-fixed-medium-r-*--*-160-*-*-*-*-iso8859-1"); |
| 3733 | /* If those didn't work, look for something which will at least work. */ | 3735 | /* If those didn't work, look for something which will at least work. */ |
| 3734 | if (! STRINGP (font)) | 3736 | if (! STRINGP (font)) |
| 3737 | font = x_new_fontset (f, "fontset-mac"); | ||
| 3738 | if (! STRINGP (font)) | ||
| 3735 | font = x_new_font (f, "-*-monaco-*-12-*-mac-roman"); | 3739 | font = x_new_font (f, "-*-monaco-*-12-*-mac-roman"); |
| 3736 | if (! STRINGP (font)) | 3740 | if (! STRINGP (font)) |
| 3737 | font = x_new_font (f, "-*-courier-*-10-*-mac-roman"); | 3741 | font = x_new_font (f, "-*-courier-*-10-*-mac-roman"); |
diff --git a/src/xdisp.c b/src/xdisp.c index 9fe8ac9a0ed..13ef9b00abf 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -22757,7 +22757,7 @@ See also `overlay-arrow-string'. */); | |||
| 22757 | DEFVAR_LISP ("overlay-arrow-string", &Voverlay_arrow_string, | 22757 | DEFVAR_LISP ("overlay-arrow-string", &Voverlay_arrow_string, |
| 22758 | doc: /* String to display as an arrow in non-window frames. | 22758 | doc: /* String to display as an arrow in non-window frames. |
| 22759 | See also `overlay-arrow-position'. */); | 22759 | See also `overlay-arrow-position'. */); |
| 22760 | Voverlay_arrow_string = Qnil; | 22760 | Voverlay_arrow_string = build_string ("=>"); |
| 22761 | 22761 | ||
| 22762 | DEFVAR_LISP ("overlay-arrow-variable-list", &Voverlay_arrow_variable_list, | 22762 | DEFVAR_LISP ("overlay-arrow-variable-list", &Voverlay_arrow_variable_list, |
| 22763 | doc: /* List of variables (symbols) which hold markers for overlay arrows. | 22763 | doc: /* List of variables (symbols) which hold markers for overlay arrows. |