1. 03 Nov, 1992 9 commits
  2. 01 Nov, 1992 1 commit
  3. 31 Oct, 1992 30 commits
    • Richard M. Stallman's avatar
      (Fmake_directory_internal): Renamed from Fmake_directory. · 9bbe01fb
      Richard M. Stallman authored
      Pass nil as third arg to handler.
      Lisp function `make-directory' is now in files.el.
    • Richard M. Stallman's avatar
      (byte-compile-lambda): · ffc394dd
      Richard M. Stallman authored
      Don't compile the interactive spec if it is a call to `list'.
    • Jim Blandy's avatar
      * xterm.h (x_screen_count, x_release, x_screen_height, · 259c5af9
      Jim Blandy authored
      	x_screen_height_mm, x_screen_width, x_screen_width_mm,
      	x_save_under, x_screen_planes): Declare this as ints, to match
      	their definitions in xterm.c.
    • Jim Blandy's avatar
      * xterm.c (x_convert_modifiers): Declare this to return an · 7c5283e4
      Jim Blandy authored
      	unsigned int, not a Lisp_Object.  Remember that the quiescent
      	value for part is Qnil, not zero, that x_mouse_x and x_mouse_y
      	are ints, not Lisp_Objects, and that RESULT->x and RESULT->y are
      	Lisp_Objects, not ints.
      	(XTread_socket): Declare this to return int, not Lisp_Object.
      	When calling construct_mouse_click on a non-scrollbar click, pass
      	PART as Qnil, not zero.
      	(x_calc_absolute_position): Remember that x_screen_width and
      	x_screen_height are ints, not Lisp_Objects.
    • Jim Blandy's avatar
      * xselect.c (own_selection): selection_type is an X Atom value, · de02ad0b
      Jim Blandy authored
      	not a Lisp_Object.
      	(x_selection_arrival): Declare this static, and add a forward
      	declaration at the top of the page.
    • Jim Blandy's avatar
      * xfns.c (x_decode_color, Fx_color_display_p): x_screen_planes is · a6605e5c
      Jim Blandy authored
      	an int, not a Lisp_Object.
      	(x_set_mouse_color): Give separate error messages for the
      	different cursors we try to set.
      	(Fx_geometry): Declare STRING to be a Lisp_Object.
      	(Fx_create_frame): No need to use XSET to assign NAME to f->name;
      	they're both Lisp_Objects.
      	(adjust_scrollbars): Use XINT to access w->hscroll.
      	(Fx_open_connection): x_screen_count, x_release, x_screen_height,
      	x_screen_height_mm, x_screen_width, x_screen_width_mm,
      	x_save_under, and x_screen_planes are integers, not Lisp_Objects.
      	(syms_of_xfns): x_mouse_x, x_mouse_y, and mouse_buffer_offset are
      	integers, not Lisp_Objects.
    • Jim Blandy's avatar
      * xdisp.c (redisplay): Use ! EQ to compare the old and new arrow · ded34426
      Jim Blandy authored
      	positions, not !=.
      	(mark_window_display_accurate): Barf if WINDOW isn't a window.
      	(display_string): Test buffer_defaults.ctl_arrow using NILP,
      	instead of comparing it with zero.
      	* xdisp.c (last_arrow_position, last_arrow_string): Make these
      	* xdisp.c (message): Re-write this in terms of message1.
      	(message1): Move code to clear out echo_area_glyphs and
      	previous_echo_glyphs from message to here.
    • Jim Blandy's avatar
      * window.h (make_window, window_from_coordinates, · 77511369
      Jim Blandy authored
      	Fwindow_dedicated_p): Add extern declarations for these.
    • Jim Blandy's avatar
      * window.c (Fwindow_width, Fset_window_hscroll): Use accessors on · 7f4161e0
      Jim Blandy authored
      	w->width, w->left, w->hscroll, and arguments.
      	(replace_window): Use EQ, not ==.
      	(Fdelete_window): p->top and p->left are not C integers.
      	(Fnext_window, Fprevious_window): Use EQ, not ==.
    • Jim Blandy's avatar
      * undo.c (record_insert): Use accessors on BEG and LENGTH. · 213861c7
      Jim Blandy authored
      	(truncate_undo_list): Use NILP, not == Qnil.
    • Jim Blandy's avatar
    • Jim Blandy's avatar
      * process.c: (status_convert): Declare this to return a · f9738840
      Jim Blandy authored
      	Lisp_Object at the top of the file.
      	(decode_status): Don't untag XCONS (tem)->cdr before storing it in
      	tem; tem is a Lisp_Object, too.
      	(process_send_signal): Declare this to be static void.  Don't
      	return Qnil; nobody cares.
      	(sigchld_handler): Use XFASTINT to manipulate p->infd.
      	* process.c (pty_process): Variable deleted; it's no longer used.
      	(syms_of_process): Don't initialize it.
    • Jim Blandy's avatar
      * print.c (print): Cast the frame's address to an integer before · 8caf6c73
      Jim Blandy authored
      	passing it to sprintf to form the frame's printed form.
    • Jim Blandy's avatar
      * minibuf.c (read_minibuf): Use EQ to compare, not ==. · fe0a5721
      Jim Blandy authored
      	(temp_echo_area_glyphs): Use XFASTINT to assign to
    • Jim Blandy's avatar
      * lread.c (read_char): Add an extern declaration for this, · 3d9b22be
      Jim Blandy authored
      	indicating that it returns a Lisp_Object.
    • Jim Blandy's avatar
      * lisp.h (Fdefault_boundp, make_float, Ffloat, Fnth, Fcopy_alist, · d20c2151
      Jim Blandy authored
      	Fmake_byte_code, Fverify_visited_file_modtime, Ffile_exists_p,
      	Fdirectory_file_name, Ffile_name_directory,
      	expand_and_dir_to_file, Ffile_accessible_directory_p, Fbyte_code,
      	Fundo_boundary, truncate_undo_list): Add extern declarations for
      	Removed these definitions; we should be using the versions whose
      	names use underscores.
    • Jim Blandy's avatar
      * keymap.c (Fdefine_key, Flookup_key, describe_map): Don't assume · d09b2024
      Jim Blandy authored
      	that Flength returns an integer.
      	* keymap.c: Deal with autoloaded keymaps properly.
              (get_keymap_1): Renamed to inner_get_keymap; made
      	static.  New argument AUTOLOAD says to pursue autoloads if
      	(Fkeymapp, get_keymap, get_keyelt, Flookup_key): Ask get_keymap_1
      	not to perform autoloads.
      	(Fdefine_key): Ask get_keymap_1 to perform autoloads.  Since
      	autoloading may GC, remember that we have to GCPRO our local
      	variables now.
      	(Fminor_mode_key_binding): Call get_keymap instead of calling
      	get_keymap_1 with equivalent arguments.
    • Jim Blandy's avatar
      * keyboard.h (get_keymap_1, Fkeymapp, reorder_modifiers, · 5bb46ecf
      Jim Blandy authored
      	Fmouse_click_p, read_char): Add external declarations for these.
    • Jim Blandy's avatar
      * keyboard.c: #include dispextern.h. · f4255cd1
      Jim Blandy authored
      	(recursive_edit_unwind, command_loop, Fthis_command_keys): Declare
      	these to return Lisp_Objects at the very top of the file, to avoid
      	having them implicitly declared as ints.
      	(echo_char): Use EQ to compare C to help_char.
      	(read_char): Remember to apply XFASTINT to the return value of
      	Flength before using it.  Apply XINT to c when clearing its high
      	bits and meta bits, and when writing it to the dribble file.
      	(read_char_menu_prompt): Use EQ to compare obj with
      	menu_prompt_more_char and its control-character analog.
      	(read_key_sequence): Declare PROMPT to be char *, not a
      	Lisp_Object.  Use the appropriate accessors on keybuf when looking
      	for ASCII function key sequences.
      	* keyboard.c (echobuf): Make this 300 characters, not 100.  This
      	isn't a real fix, but it's quick.
      	* keyboard.c (read_char): When returning an unread switch-frame
      	event, jump to reread_first to return it, rather than reread; this
      	makes sure the event gets echoed (if appropriate) and goes into
      	* keyboard.c (read_key_sequence): If the key sequence starts with
      	a mouse click, read the key sequence using the keymaps of the
      	buffer clicked on, not the current buffer.
      	* keyboard.c (unread_switch_frame): Make this static, to indicate
      	that nobody outside of this file uses it.
      	* keyboard.c (follow_key): Ask get_keymap_1 to perform autoloads.
      	(read_key_sequence): When pursuing potential bindings in the
      	function key map, ask get_keymap_1 to perform autoloading.  This
      	is hardly important, but it's consistent.
    • Jim Blandy's avatar
      * frame.c: #include buffer.h. · bff19c8d
      Jim Blandy authored
    • Jim Blandy's avatar
      * fns.c: #include keyboard.h. · f812877e
      Jim Blandy authored
      	(Fdelete): Check if Fequal returns Qnil, not zero.
    • Jim Blandy's avatar
      * floatfns.c (Flog): Don't forget to declare the BASE argument a · 1cee2045
      Jim Blandy authored
      	* floatfns.c (Fexpt): Don't return the value of the XSET function
      	call; that's not guaranteed to be the value assigned.
    • Jim Blandy's avatar
      * doc.c: #include keyboard.h. · 665d3046
      Jim Blandy authored
      	* doc.c (Fsubstitute_command_keys): Ask get_keymap_1 to
      	perform autoloads.  Autoloading might GC; we need to GCPRO our
      	local variables now.
      	(Fdocumentation, Fdocumentation_property): Autoloading in
      	Fsubstitute_command_keys might GC; we need to GCPRO our
      	local variables now.
    • Jim Blandy's avatar
    • Jim Blandy's avatar
      * dired.c (find_file_handler): Declare this extern. · ccbcf979
      Jim Blandy authored
      	(Ffile_attributes): Use NILP, not == Qnil.
      	* dired.c (Ffile_attributes): Doc fix.
    • Jim Blandy's avatar
      * data.c (Fset): See if current_alist_element points to itself · b06faa91
      Jim Blandy authored
      	using EQ, not ==.
      	(float_arith_driver): Declare this extern above arith_driver.
    • Jim Blandy's avatar
      * commands.h (unread_command_char): Declare this to be a · 3cfd5825
      Jim Blandy authored
      	Lisp_Object, not an int.
    • Jim Blandy's avatar
      * casetab.c (set_case_table): Declare this to be static, and · d9da9451
      Jim Blandy authored
      	return a Lisp_Object. Add static declaration for this
      	before Fset_case_table and Fset_standard_case_table.
      	(Fset_case_table, Fset_standard_case_table): Return the return
      	value of set_case_table, instead of returning garbage.
    • Jim Blandy's avatar
      * casefiddle.c (operate_on_word): Declare end to be an int, not a · 39fb55ff
      Jim Blandy authored
    • Jim Blandy's avatar
      * callproc.c: Arrange for synchronous processes to get SIGINT the · d177f194
      Jim Blandy authored
      	first time the user quits, or SIGKILL if the user quits again.
      	#include "syssignal.h".
      	(call_process_kill): New function.
      	(call_process_cleanup): Send SIGINT to the subprocess, and then
      	arrange to call call_process_kill if the user quits while we wait
      	for it to terminate.
      	(Fcall_process, Fcall_process_region): Doc fix.