aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2011-06-06 13:54:34 -0300
committerStefan Monnier2011-06-06 13:54:34 -0300
commitd6d100dd7c48e124ca9ce4bbb761f24b8e052493 (patch)
treec816b435345d28762a8dc8f21f91b03f6b8385ea /src
parent2b6148e42e0d0c246575212e264104d17a746d0b (diff)
downloademacs-d6d100dd7c48e124ca9ce4bbb761f24b8e052493.tar.gz
emacs-d6d100dd7c48e124ca9ce4bbb761f24b8e052493.zip
* src/window.h (Fwindow_frame): Declare.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog32
-rw-r--r--src/window.h1
2 files changed, 19 insertions, 14 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e0a7645cf73..44dc1939db9 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12011-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * window.h (Fwindow_frame): Declare.
4
12011-06-06 Paul Eggert <eggert@cs.ucla.edu> 52011-06-06 Paul Eggert <eggert@cs.ucla.edu>
2 6
3 * alloc.c: Simplify handling of large-request failures (Bug#8800). 7 * alloc.c: Simplify handling of large-request failures (Bug#8800).
@@ -35,8 +39,8 @@
35 or arbitrary window as argument. Update doc-strings. 39 or arbitrary window as argument. Update doc-strings.
36 (Fminibuffer_window): Move up in code. 40 (Fminibuffer_window): Move up in code.
37 (Fwindow_minibuffer_p): Move up in code and simplify. 41 (Fwindow_minibuffer_p): Move up in code and simplify.
38 (Fset_frame_selected_window): Move here from frame.c. Marginal 42 (Fset_frame_selected_window): Move here from frame.c.
39 rewrite. 43 Marginal rewrite.
40 (Fselected_window, select_window, Fselect_window): Move up in 44 (Fselected_window, select_window, Fselect_window): Move up in
41 code. Minor doc-string fixes. 45 code. Minor doc-string fixes.
42 46
@@ -75,8 +79,8 @@
75 79
76 * xselect.c (x_clipboard_manager_save): Remove redundant arg. 80 * xselect.c (x_clipboard_manager_save): Remove redundant arg.
77 (x_clipboard_manager_save): Add return value. 81 (x_clipboard_manager_save): Add return value.
78 (x_clipboard_manager_error_1, x_clipboard_manager_error_2): New 82 (x_clipboard_manager_error_1, x_clipboard_manager_error_2):
79 error handlers. 83 New error handlers.
80 (x_clipboard_manager_save_frame, x_clipboard_manager_save_all): 84 (x_clipboard_manager_save_frame, x_clipboard_manager_save_all):
81 Obey Vx_select_enable_clipboard_manager. Catch errors in 85 Obey Vx_select_enable_clipboard_manager. Catch errors in
82 x_clipboard_manager_save (Bug#8779). 86 x_clipboard_manager_save (Bug#8779).
@@ -104,8 +108,8 @@
104 (bidi_fetch_char, bidi_fetch_char_advance): New functions. 108 (bidi_fetch_char, bidi_fetch_char_advance): New functions.
105 (bidi_cache_search, bidi_cache_iterator_state) 109 (bidi_cache_search, bidi_cache_iterator_state)
106 (bidi_paragraph_init, bidi_resolve_explicit, bidi_resolve_weak) 110 (bidi_paragraph_init, bidi_resolve_explicit, bidi_resolve_weak)
107 (bidi_level_of_next_char, bidi_move_to_visually_next): Support 111 (bidi_level_of_next_char, bidi_move_to_visually_next):
108 character positions inside a run of characters covered by a 112 Support character positions inside a run of characters covered by a
109 display string. 113 display string.
110 (bidi_paragraph_init, bidi_resolve_explicit_1) 114 (bidi_paragraph_init, bidi_resolve_explicit_1)
111 (bidi_level_of_next_char): Call bidi_fetch_char and 115 (bidi_level_of_next_char): Call bidi_fetch_char and
@@ -116,8 +120,8 @@
116 definitions. 120 definitions.
117 (bidi_explicit_dir_char): Lookup character type in bidi_type_table, 121 (bidi_explicit_dir_char): Lookup character type in bidi_type_table,
118 instead of using explicit *_CHAR codes. 122 instead of using explicit *_CHAR codes.
119 (bidi_resolve_explicit, bidi_resolve_weak): Use 123 (bidi_resolve_explicit, bidi_resolve_weak):
120 FETCH_MULTIBYTE_CHAR instead of FETCH_CHAR, as reordering of 124 Use FETCH_MULTIBYTE_CHAR instead of FETCH_CHAR, as reordering of
121 bidirectional text is supported only in multibyte buffers. 125 bidirectional text is supported only in multibyte buffers.
122 (bidi_init_it): Accept additional argument FRAME_WINDOW_P and use 126 (bidi_init_it): Accept additional argument FRAME_WINDOW_P and use
123 it to initialize the frame_window_p member of struct bidi_it. 127 it to initialize the frame_window_p member of struct bidi_it.
@@ -135,8 +139,8 @@
135 (single_display_spec_intangible_p): Function deleted. 139 (single_display_spec_intangible_p): Function deleted.
136 (display_prop_intangible_p): Reimplement to call 140 (display_prop_intangible_p): Reimplement to call
137 handle_display_spec instead of single_display_spec_intangible_p. 141 handle_display_spec instead of single_display_spec_intangible_p.
138 Accept 3 additional arguments needed by handle_display_spec. This 142 Accept 3 additional arguments needed by handle_display_spec.
139 fixes incorrect cursor motion across display property with complex 143 This fixes incorrect cursor motion across display property with complex
140 values: lists, `(when COND...)' forms, etc. 144 values: lists, `(when COND...)' forms, etc.
141 (single_display_spec_string_p): Support property values that are 145 (single_display_spec_string_p): Support property values that are
142 lists with the argument STRING its top-level element. 146 lists with the argument STRING its top-level element.
@@ -153,8 +157,8 @@
153 the display property will replace the characters it covers. 157 the display property will replace the characters it covers.
154 (Fcurrent_bidi_paragraph_direction): Initialize the nchars and 158 (Fcurrent_bidi_paragraph_direction): Initialize the nchars and
155 frame_window_p members of struct bidi_it. 159 frame_window_p members of struct bidi_it.
156 (compute_display_string_pos, compute_display_string_end): New 160 (compute_display_string_pos, compute_display_string_end):
157 functions. 161 New functions.
158 (push_it): Accept second argument POSITION, where pop_it should 162 (push_it): Accept second argument POSITION, where pop_it should
159 jump to continue iteration. 163 jump to continue iteration.
160 (reseat_1): Initialize bidi_it.disp_pos. 164 (reseat_1): Initialize bidi_it.disp_pos.
@@ -165,8 +169,8 @@
165 * dispextern.h (struct bidi_it): New member frame_window_p. 169 * dispextern.h (struct bidi_it): New member frame_window_p.
166 (bidi_init_it): Update prototypes. 170 (bidi_init_it): Update prototypes.
167 (display_prop_intangible_p): Update prototype. 171 (display_prop_intangible_p): Update prototype.
168 (compute_display_string_pos, compute_display_string_end): Declare 172 (compute_display_string_pos, compute_display_string_end):
169 prototypes. 173 Declare prototypes.
170 (struct bidi_it): New members nchars and disp_pos. ch_len is now 174 (struct bidi_it): New members nchars and disp_pos. ch_len is now
171 EMACS_INT. 175 EMACS_INT.
172 176
diff --git a/src/window.h b/src/window.h
index ac3335bfba4..96e30d98d24 100644
--- a/src/window.h
+++ b/src/window.h
@@ -845,6 +845,7 @@ extern Lisp_Object Qwindowp, Qwindow_live_p;
845extern Lisp_Object Vwindow_list; 845extern Lisp_Object Vwindow_list;
846 846
847EXFUN (Fwindow_buffer, 1); 847EXFUN (Fwindow_buffer, 1);
848EXFUN (Fwindow_frame, 1);
848EXFUN (Fget_buffer_window, 2); 849EXFUN (Fget_buffer_window, 2);
849EXFUN (Fwindow_minibuffer_p, 1); 850EXFUN (Fwindow_minibuffer_p, 1);
850EXFUN (Fselected_window, 0); 851EXFUN (Fselected_window, 0);