1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-18 17:01:01 -08:00
Commit graph

10633 commits

Author SHA1 Message Date
Richard M. Stallman
069cdc4fe0 (modify_region): Clear point_before_scroll field. 1995-01-27 07:47:15 +00:00
Richard M. Stallman
b6a0ebc300 (set_point): Set point_before_scroll to nil. 1995-01-27 07:19:06 +00:00
Richard M. Stallman
2e4a1e1f7e (struct buffer): New field point_before_scroll. 1995-01-27 07:18:11 +00:00
Richard M. Stallman
943e065b3c (init_buffer_once, syms_of_buffer):
Set up buffer-local var point_before_scroll.
(reset_buffer): Init point_before_scroll.
1995-01-27 07:17:39 +00:00
Karl Heuer
dcbea62ef1 (struct x_display_info): New member display_perd. 1995-01-25 09:04:07 +00:00
Karl Heuer
612b78eff8 (the_only_perd): Define this var here.
(kbd_buffer, kbd_fetch_ptr, kbd_store_ptr): Delete; now part of perd.
(find_active_event_queue): New function.
(readable_events, kbd_buffer_get_event, swallow_events): Use it.
(kbd_buffer_store_event): Store in EVENT's frame's queue.
(Fdiscard_input, stuff_buffered_input): Use perd.
(init_keyboard): Initialize the new vars.
kbd_buffer is now a pointer, not an array.
1995-01-25 08:58:33 +00:00
Karl Heuer
5fc12a7870 Add comments and `volatile' keyword to previous change. 1995-01-25 08:55:43 +00:00
Karl Heuer
f6064cbe2f (PERD): New struct containing per-display data.
(the_only_perd): An instance of it.
(get_perd): Macro to retrieve it.
1995-01-25 07:18:37 +00:00
Karl Heuer
17d02632dd (process_tick, update_tick): Make non-static. 1995-01-25 02:02:37 +00:00
Richard M. Stallman
c5acd733f2 (x_destroy_window): Don't let frame being destroyed remain in
x_focus_event_frame.
1995-01-25 00:44:32 +00:00
Richard M. Stallman
9af4c1b597 (Flocal_set_key, Fglobal_set_key): Use K, not k. 1995-01-24 22:14:00 +00:00
Richard M. Stallman
1989e7bccb (Fcall_interactively): Define K mostly like k.
Pass new arg to Fread_key_sequence.
1995-01-24 22:13:42 +00:00
Richard M. Stallman
309b0fc8c6 (read_key_sequence): New arg dont_downcase_last
inhibits downcasing the last event, when it's uppercase and undefined.
(Fread_key_sequence): Likewise new arg.
1995-01-24 22:13:07 +00:00
Karl Heuer
2ff4775b13 (compute_motion): Don't get hung in selective-display loop. 1995-01-24 07:01:08 +00:00
Karl Heuer
667da7f557 Don't use function prototypes. 1995-01-24 05:27:32 +00:00
Karl Heuer
0d882d52f4 (read_key_sequence): Don't wait for a possible key translation sequence if we
already have a binding.
Add missing break statement.
1995-01-24 03:16:34 +00:00
Karl Heuer
ac23f1166d (HAVE_SYS_SELECT_H): Add #undef for configure. 1995-01-23 23:36:50 +00:00
Karl Heuer
6fd88d2ec2 Define BROKEN_SELECT_NON_X. 1995-01-23 23:29:00 +00:00
Karl Heuer
86d1f23add (sys_select): Renamed from select. Use SELECT_TYPE instead of int. Defer to
native select if that function is usable.
1995-01-23 23:26:29 +00:00
Karl Heuer
5886acf9ae #include sysselect.h instead of defining things by hand. 1995-01-23 23:10:11 +00:00
Karl Heuer
3ef31cb524 Initial revision 1995-01-23 23:03:37 +00:00
Karl Heuer
a7cde15c64 [__GNUC__] (POSIX_SIGNALS): #define this.
[__GNUC__] (sigsetmask, HAVE_SYSV_SIGPAUSE): #undef these.
(LIBX11_SYSTEM): Don't use -lc; loading this before -lcposix gives us the
wrong signal functions.
(C_SWITCH_SYSTEM): Add _XOPEN_SOURCE.
(EXTRA_INITIALIZE): Make conditional on __GNUC__.
1995-01-23 22:20:24 +00:00
Richard M. Stallman
fb774cf7a8 (read_minibuf): Don't print the prompt in batch mode. 1995-01-22 17:11:23 +00:00
Richard M. Stallman
fcdeb5d917 (sort_args): Ordinary args get priority 0.
So do -f, -l, -insert, etc.  --kill gets negative priority.
Everything else gets positive priority.
1995-01-22 09:57:57 +00:00
Richard M. Stallman
e114e160d3 [NO_REMAP]: #undef static. 1995-01-21 22:23:22 +00:00
Richard M. Stallman
73396f20e7 Comment change. 1995-01-21 22:21:33 +00:00
Richard M. Stallman
9d83f28943 (xmenu.o): Add msdos.h as dependency. 1995-01-20 23:48:46 +00:00
Richard M. Stallman
e0585c647b (syms_of_buffer) [DOS_NT]: Add missing ';'. 1995-01-20 23:40:45 +00:00
Richard M. Stallman
edfc0d4575 Comment change. 1995-01-20 23:40:03 +00:00
Richard M. Stallman
cbc07d0a1d (x_mouse_leave): Add neutralizing define.
(XMenuCreate, XMenuAddPane, XMenuAddSelection, XMenuLocate,
XMenuActivate, XMenuDestroy): Add prototype.
1995-01-20 23:38:46 +00:00
Richard M. Stallman
eeee31128d [MSDOS]: #include msdos.h. 1995-01-20 23:37:41 +00:00
Richard M. Stallman
1189e5a2d9 (XMenuCreate, XMenuAddPane, XMenuAddSelection, XMenuLocate,
XMenuActivate, XMenuDestroy): Add dummy `display *' argument.
1995-01-20 23:37:00 +00:00
Richard M. Stallman
296752568f (DEVICE_SEP, IS_DIRECTORY_SEP, IS_ANY_SEP): Defined. 1995-01-20 23:36:39 +00:00
Richard M. Stallman
dffb28c7ca (file_name_as_directory, Ffile_name_directory)
(Ffile_name_nondirectory): Delete special MSDOG code now covered by macros.
1995-01-20 23:36:07 +00:00
Karl Heuer
53ea07e1a2 (union Lisp_Misc): Make the `type' field just 16 bits, to match the
substructures.
1995-01-20 22:02:53 +00:00
Karl Heuer
029c56f6ad (xbufobjfwd, xbuflocal, xwinconfig):
Renamed from xbuffer_objfwd, xbuffer_local_value, xwindow_configuration
since gdb doesn't allow underscores in macro names.
1995-01-20 20:12:25 +00:00
Karl Heuer
2084fddb6d (Ftext_property_any): Handle the trivial case specially. 1995-01-20 01:47:45 +00:00
Karl Heuer
4bb8c8b792 (seed_random): Renamed from srandom.
(get_random): Renamed from random.  Return VALBITS random bits.
1995-01-19 23:37:10 +00:00
Karl Heuer
99175c23d3 (Frandom): Call seed_random and get_random. 1995-01-19 23:36:43 +00:00
Karl Heuer
a6a3acf054 (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
xobjfwd, xoverlay, xwindow_configuration): New macros.
1995-01-19 21:57:20 +00:00
Karl Heuer
00d76abc82 (print): Print internal types too, for debugging.
Print appropriate message for invalid pseudovector or misc type.
1995-01-19 21:09:50 +00:00
Richard M. Stallman
b59ab95c5c (term_get_fkeys_1): Bug fix for function key above f19. 1995-01-19 18:56:43 +00:00
Richard M. Stallman
d5a539cd37 (subst_char_in_region_unwind): New function.
(Fsubst_char_in_region): Use it to make undo_list t temporarily.
1995-01-19 18:56:10 +00:00
Richard M. Stallman
3de15b7ad1 (internal_self_insert): Don't test current_column
when deciding to call auto_fill_function.
1995-01-19 04:34:02 +00:00
Richard M. Stallman
2dc25e2af5 Don't include sys/param.h.
(MAXPATHLEN): Definition deleted.
1995-01-18 23:23:58 +00:00
Richard M. Stallman
a58ec57dd2 (Qtemp_buffer_show_hook): New hook.
(syms_of_window): Init and staticpro it.
(temp_output_buffer_show): Run the hook.
1995-01-18 22:13:34 +00:00
Karl Heuer
0220c51857 Change all occurences of SWITCH_ENUM_BUG to use SWITCH_ENUM_CAST instead. 1995-01-18 20:52:48 +00:00
Karl Heuer
c1d4ff308d [!emacs] (SWITCH_ENUM_CAST): New macro, from emacs/lisp.h
(re_compile_fastmap, re_match_2_internal): Use that macro instead of testing
SWITCH_ENUM_BUG.
1995-01-18 20:47:36 +00:00
Karl Heuer
51bd4610d7 (SWITCH_ENUM_CAST): New macro. 1995-01-18 20:13:17 +00:00
Richard M. Stallman
01c386ba5e (list_buffers_1, Flist_buffers): Functions deleted. 1995-01-17 02:33:24 +00:00