aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2006-01-03 16:56:15 +0000
committerStefan Monnier2006-01-03 16:56:15 +0000
commite7b394e177d55da20ca69ba4bdc847d3aa95caf7 (patch)
treefc132d009220b0f5b94a5362acf863400ec58e4c
parentccf0250b2fe3586c7a3c68c8f8e330c73f2786a6 (diff)
downloademacs-e7b394e177d55da20ca69ba4bdc847d3aa95caf7.tar.gz
emacs-e7b394e177d55da20ca69ba4bdc847d3aa95caf7.zip
(Fwindow_minibuffer_p): Declare (for use in minibuf.c).
-rw-r--r--src/ChangeLog34
-rw-r--r--src/window.h3
2 files changed, 21 insertions, 16 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index cee0ecd6977..38d7ca945ce 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12006-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * keymap.c (describe_map_compare): Yet another int/Lisp_Object mixup.
4
5 * window.h (Fwindow_minibuffer_p): Declare (for use in minibuf.c).
6
12006-01-03 Romain Francoise <romain@orebokech.com> 72006-01-03 Romain Francoise <romain@orebokech.com>
2 8
3 * emacs.c (main): Update copyright year. 9 * emacs.c (main): Update copyright year.
@@ -57,7 +63,7 @@
57 63
582005-12-28 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 642005-12-28 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
59 65
60 * gtkutil.c (xg_get_file_with_chooser): Changed message shown 66 * gtkutil.c (xg_get_file_with_chooser): Change message shown
61 in file chooser. 67 in file chooser.
62 68
632005-12-27 Richard M. Stallman <rms@gnu.org> 692005-12-27 Richard M. Stallman <rms@gnu.org>
@@ -131,8 +137,8 @@
131 * macterm.h (TYPE_FILE_NAME): New define. 137 * macterm.h (TYPE_FILE_NAME): New define.
132 (posix_pathname_to_fsspec, fsspec_to_posix_pathname): Remove externs. 138 (posix_pathname_to_fsspec, fsspec_to_posix_pathname): Remove externs.
133 139
134 * mac.c (posix_pathname_to_fsspec, fsspec_to_posix_pathname): Add 140 * mac.c (posix_pathname_to_fsspec, fsspec_to_posix_pathname):
135 prototypes. Make static. 141 Add prototypes. Make static.
136 (mac_aedesc_to_lisp): Initialize err to noErr. 142 (mac_aedesc_to_lisp): Initialize err to noErr.
137 (mac_coerce_file_name_ptr, mac_coerce_file_name_desc) 143 (mac_coerce_file_name_ptr, mac_coerce_file_name_desc)
138 (init_coercion_handler): New functions. 144 (init_coercion_handler): New functions.
@@ -176,8 +182,8 @@
176 * macgui.h (XCharStruct): Remove member `valid_p'. 182 * macgui.h (XCharStruct): Remove member `valid_p'.
177 (STORE_XCHARSTRUCT): Don't set member `valid_p'. 183 (STORE_XCHARSTRUCT): Don't set member `valid_p'.
178 (XCharStructRow): New typedef. 184 (XCharStructRow): New typedef.
179 (XCHARSTRUCTROW_CHAR_VALID_P, XCHARSTRUCTROW_SET_CHAR_VALID): New 185 (XCHARSTRUCTROW_CHAR_VALID_P, XCHARSTRUCTROW_SET_CHAR_VALID):
180 macros. 186 New macros.
181 (struct MacFontStruct): Add member `bounds'. Remove member 187 (struct MacFontStruct): Add member `bounds'. Remove member
182 `per_char'. All uses for QuichDraw Text fonts are changed to 188 `per_char'. All uses for QuichDraw Text fonts are changed to
183 `bounds.per_char'. ATSUI font bounds are represented as an array 189 `bounds.per_char'. ATSUI font bounds are represented as an array
@@ -189,8 +195,8 @@
189 (mac_query_char_extents): New function. 195 (mac_query_char_extents): New function.
190 (x_per_char_metric): Use it. 196 (x_per_char_metric): Use it.
191 (XLoadQueryFont): Likewise. Consolidate min/max_bounds calculations. 197 (XLoadQueryFont): Likewise. Consolidate min/max_bounds calculations.
192 [USE_CG_TEXT_DRAWING] (mac_draw_string_cg): Use 198 [USE_CG_TEXT_DRAWING] (mac_draw_string_cg):
193 mac_per_char_metric instead of x_per_char_metric. 199 Use mac_per_char_metric instead of x_per_char_metric.
194 (mac_text_extents_16): New function. 200 (mac_text_extents_16): New function.
195 (mac_compute_glyph_string_overhangs): Use it. 201 (mac_compute_glyph_string_overhangs): Use it.
196 (mac_unload_font): Free member `bounds' in struct MacFontStruct. 202 (mac_unload_font): Free member `bounds' in struct MacFontStruct.
@@ -444,11 +450,11 @@
444 [MAC_OS8] (main): Call init_apple_event_handler instead of 450 [MAC_OS8] (main): Call init_apple_event_handler instead of
445 init_required_apple_events. 451 init_required_apple_events.
446 (mac_initialize) [MAC_OSX]: Likewise. 452 (mac_initialize) [MAC_OSX]: Likewise.
447 [!USE_CARBON_EVENTS] (mac_wait_next_event): Use 453 [!USE_CARBON_EVENTS] (mac_wait_next_event):
448 mac_ready_for_apple_events instead of Qmac_ready_for_drag_n_drop. 454 Use mac_ready_for_apple_events instead of Qmac_ready_for_drag_n_drop.
449 455
450 * macterm.h (mac_make_lispy_event_code, mac_aedesc_to_lisp): Add 456 * macterm.h (mac_make_lispy_event_code, mac_aedesc_to_lisp):
451 externs. 457 Add externs.
452 (create_apple_event_from_event_ref) [TARGET_API_MAC_CARBON]: Likewise. 458 (create_apple_event_from_event_ref) [TARGET_API_MAC_CARBON]: Likewise.
453 (Fmac_get_preference): Add EXFUN. 459 (Fmac_get_preference): Add EXFUN.
454 460
@@ -488,11 +494,9 @@
488 494
4892005-12-06 Ken Raeburn <raeburn@gnu.org> 4952005-12-06 Ken Raeburn <raeburn@gnu.org>
490 496
491 * buffer.c (Fkill_buffer): Avoid dangerous side effects in NILP 497 * buffer.c (Fkill_buffer): Avoid dangerous side effects in NILP args.
492 argument.
493 * bytecode.c (Fbyte_code): Likewise. 498 * bytecode.c (Fbyte_code): Likewise.
494 * fileio.c (internal_delete_file, Fread_file_name_internal): 499 * fileio.c (internal_delete_file, Fread_file_name_internal): Likewise.
495 Likewise.
496 * minibuf.c (Fminibuffer_complete_and_exit): Likewise. 500 * minibuf.c (Fminibuffer_complete_and_exit): Likewise.
497 * undo.c (truncate_undo_list): Likewise. 501 * undo.c (truncate_undo_list): Likewise.
498 502
diff --git a/src/window.h b/src/window.h
index 46d75de384f..ed4c8728117 100644
--- a/src/window.h
+++ b/src/window.h
@@ -1,6 +1,6 @@
1/* Window definitions for GNU Emacs. 1/* Window definitions for GNU Emacs.
2 Copyright (C) 1985, 1986, 1993, 1995, 1997, 1998, 1999, 2000, 2001, 2 Copyright (C) 1985, 1986, 1993, 1995, 1997, 1998, 1999, 2000, 2001,
3 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -865,6 +865,7 @@ extern Lisp_Object Vwindow_list;
865 865
866EXFUN (Fwindow_end, 2); 866EXFUN (Fwindow_end, 2);
867EXFUN (Fselected_window, 0); 867EXFUN (Fselected_window, 0);
868EXFUN (Fwindow_minibuffer_p, 1);
868EXFUN (Fdelete_window, 1); 869EXFUN (Fdelete_window, 1);
869EXFUN (Fwindow_buffer, 1); 870EXFUN (Fwindow_buffer, 1);
870EXFUN (Fget_buffer_window, 2); 871EXFUN (Fget_buffer_window, 2);