aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorPaul Eggert2012-09-05 00:18:46 -0700
committerPaul Eggert2012-09-05 00:18:46 -0700
commitf75d7a913dd0fae7a739d12f704fca024c065c3e (patch)
tree5f7d36acdd831dcc0f377f39866bb33804ce741a /src/window.c
parent7e570fbf3ef8ccd31df2651f5d2775c5697d5950 (diff)
downloademacs-f75d7a913dd0fae7a739d12f704fca024c065c3e.tar.gz
emacs-f75d7a913dd0fae7a739d12f704fca024c065c3e.zip
* fileio.c, filelock.c, floatfns.c, fns.c: Use bool for boolean.
* fileio.c (auto_saving, auto_save_error_occurred, make_temp_name) (Fexpand_file_name, barf_or_query_if_file_exists, Fcopy_file) (file_name_absolute_p, Fsubstitute_in_file_name): (check_executable, check_writable, Ffile_accessible_directory_p) (Fset_file_selinux_context, Fdefault_file_modes) (Finsert_file_contents, choose_write_coding_system) (Fwrite_region, build_annotations, a_write, e_write) (Fdo_auto_save): * filelock.c (boot_time_initialized, get_boot_time) (get_boot_time_1, lock_file_1, within_one_second): * floatfns.c (in_float): * fns.c (concat, internal_equal, Frequire, base64_encode_1) (base64_decode_1, cmpfn_eql, cmpfn_user_defined) (sweep_weak_table, sweep_weak_hash_tables, secure_hash): * lisp.h (struct Lisp_Hash_Table.cmpfn): * window.c (compare_window_configurations): Use bool for booleans. * fileio.c (auto_saving_dir_umask, auto_saving_mode_bits) (Fdefault_file_modes): Now mode_t, not int, for modes. (Fdo_auto_save): Set a boolean to 1 rather than using ++. (internal_delete_file): Now returns void, not a (boolean) int, since nobody was looking at the return value. * lisp.h, window.h: Adjust to above API changes.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/window.c b/src/window.c
index 08608e0d451..1869a3b65cf 100644
--- a/src/window.c
+++ b/src/window.c
@@ -6576,15 +6576,17 @@ freeze_window_starts (struct frame *f, int freeze_p)
6576/* Return 1 if window configurations CONFIGURATION1 and CONFIGURATION2 6576/* Return 1 if window configurations CONFIGURATION1 and CONFIGURATION2
6577 describe the same state of affairs. This is used by Fequal. 6577 describe the same state of affairs. This is used by Fequal.
6578 6578
6579 ignore_positions non-zero means ignore non-matching scroll positions 6579 IGNORE_POSITIONS means ignore non-matching scroll positions
6580 and the like. 6580 and the like.
6581 6581
6582 This ignores a couple of things like the dedication status of 6582 This ignores a couple of things like the dedication status of
6583 window, combination_limit and the like. This might have to be 6583 window, combination_limit and the like. This might have to be
6584 fixed. */ 6584 fixed. */
6585 6585
6586int 6586bool
6587compare_window_configurations (Lisp_Object configuration1, Lisp_Object configuration2, int ignore_positions) 6587compare_window_configurations (Lisp_Object configuration1,
6588 Lisp_Object configuration2,
6589 bool ignore_positions)
6588{ 6590{
6589 register struct save_window_data *d1, *d2; 6591 register struct save_window_data *d1, *d2;
6590 struct Lisp_Vector *sws1, *sws2; 6592 struct Lisp_Vector *sws1, *sws2;