Karl Heuer
5259c73786
(printchar, strout): Call message_dolog.
1995-01-13 02:22:54 +00:00
Karl Heuer
3d3938e185
Declare message_dolog.
1995-01-13 02:22:37 +00:00
Karl Heuer
f88eb0b611
(message_log_need_newline): New var.
...
(message_dolog): New function, extracted from message2.
1995-01-13 02:22:14 +00:00
Karl Heuer
25be741f21
Don't allow MARKBIT and DONT_COPY_FLAG to be the same bit.
1995-01-13 00:02:43 +00:00
Karl Heuer
1fb577f7e5
(DONT_COPY_FLAG): Default this to 1.
...
(mark_object): Use the same XOR expression as elsewhere.
(gc_sweep): Don't touch DONT_COPY_FLAG here; this one is a real size field,
not a mangled pointer.
1995-01-13 00:00:23 +00:00
Karl Heuer
4cab507406
(internal_equal): Delete redundant tests.
...
Mask size field when comparing pseudovectors.
(Frandom): Use VALBITS instead of hardcoded constants.
1995-01-12 23:18:19 +00:00
Richard M. Stallman
0c97bd6a43
(unexec): Cast value of sbrk.
...
(run_time_remap): Cast arg to brk.
(brk_value): Renamed from Brk.
(is_it): Cast 1st arg of mmap.
1995-01-12 21:02:30 +00:00
Richard M. Stallman
4ff1aed96c
(internal_equal): Once again use a switch.
1995-01-12 21:01:31 +00:00
Karl Heuer
e19e5a3e16
(DONT_COPY_FLAG): Fix typo.
1995-01-11 03:00:32 +00:00
Karl Heuer
c98adc1b2e
Use large constants for Lisp_Misc_Type.
...
Add some function declarations.
1995-01-11 02:13:20 +00:00
Karl Heuer
691c4285c5
(Fgarbage_collect): Don't log the GC message.
1995-01-11 02:04:58 +00:00
Karl Heuer
0b1005ef3c
(message1_nolog): New function.
1995-01-11 02:03:00 +00:00
Karl Heuer
5992c4f725
(Vmessage_log_max): New var.
...
(syms_of_xdisp): defvar and initialize it.
(message2_nolog): Renamed from message2.
(message2): Log messages, then call message2_nolog.
1995-01-11 01:55:01 +00:00
Karl Heuer
b718c39540
(echo): Don't log the key echoes.
1995-01-11 01:53:36 +00:00
Karl Heuer
c660b094b9
Declare all non-returning functions `void'.
...
(insert_1): Make non-static. New arg PREPARE. All callers changed.
1995-01-11 01:40:25 +00:00
Richard M. Stallman
155ffe9c93
(DONT_COPY_FLAG): New bit flag.
...
(mark_object, gc_sweep, compact_strings): Use it.
1995-01-11 01:19:09 +00:00
Richard M. Stallman
99e372cd35
(main): Handle SIGABRT, SIGHWE, SIGPRE, SIGORE, SIGDLK,
...
SIGCPULIM, if they are defined.
1995-01-11 01:18:41 +00:00
Richard M. Stallman
5bfac5a98e
(struct Lisp_Free, struct Lisp_Marker, etc.):
...
Make the `type' field just 16 bits, and declare as int.
Add explicit spacer field after it.
(struct Lisp_Marker): New field insertion_type.
1995-01-11 01:17:49 +00:00
Karl Heuer
b5a6948eea
(Fnarrow_to_region): Swap using temp Lisp_Object, not int.
1995-01-10 22:03:13 +00:00
Karl Heuer
83951f1ea4
(Finsert_char): Check inherit flag for long strings too.
1995-01-10 20:37:38 +00:00
Richard M. Stallman
e0dff5f63e
(syms_of_keyboard): Doc fix.
...
(read_key_sequence): If first event is mouse click,
use the text property keymap from where the click was.
New local var orig_local_map.
1995-01-10 18:37:06 +00:00
Karl Heuer
2f787aa33c
(Fscroll_other_window): On small windows, scroll by 1 line.
1995-01-10 00:06:50 +00:00
Richard M. Stallman
dce4372a8e
(store_in_keymap): Copy a cons only if car is a string.
1995-01-08 20:24:36 +00:00
Richard M. Stallman
a0a7635faa
Don't include param.h.
1995-01-08 20:19:47 +00:00
Richard M. Stallman
6c0df54af6
(syms_of_buffer): Doc fix.
1995-01-08 19:22:20 +00:00
Roland McGrath
df3dd7d63d
Include config.h first.
1995-01-07 16:57:36 +00:00
Karl Heuer
09b3d66283
(VALBITS, GCTYPEBITS): Deleted; default is better.
1995-01-07 00:23:16 +00:00
Karl Heuer
308c7a07a2
(VALBITS): Adjust for new bit layout.
1995-01-07 00:22:49 +00:00
Karl Heuer
5df0669f04
[XENIX|SOLARIS2] (VALBITS, GCTYPEBITS): Deleted; default is better.
1995-01-07 00:19:51 +00:00
Karl Heuer
9b8e820120
(VALBITS, XTYPE): Adjust for new bit layout.
1995-01-07 00:18:38 +00:00
Karl Heuer
aa24c41b1d
Fix comment.
1995-01-07 00:14:11 +00:00
Karl Heuer
155add3557
Delete obsolete comment.
1995-01-06 23:23:38 +00:00
Richard M. Stallman
6e18b6c220
[!MULTI_FRAME] (window_frame): New function.
...
[!MULTI_FRAME] (syms_of_frame): defsubr it.
1995-01-05 22:19:54 +00:00
Roland McGrath
f9b4aacf1b
Fix typo in last change.
1995-01-05 07:45:50 +00:00
Roland McGrath
610f41b751
(store_function_docstring, Fdocumentation): Use & PSEUDOVECTOR_SIZE_MASK on
...
`size' field of compiled byte-code object.
1995-01-05 07:11:54 +00:00
Roland McGrath
4e87700b1e
(Fcall_interactively): Use & PSEUDOVECTOR_SIZE_MASK on `size' field of
...
compiled byte-code object.
1995-01-05 07:06:19 +00:00
Roland McGrath
96277b2df9
(Fcommandp): Use & PSEUDOVECTOR_SIZE_MASK on `size' field of compiled
...
byte-code object.
1995-01-05 07:05:16 +00:00
Karl Heuer
6b552283ca
(mark_object, mark_buffer): Don't mark buffer twice.
1995-01-04 22:43:47 +00:00
Karl Heuer
177efd1563
[EXPLICIT_SIGN_EXTEND] (XINT): Use symbolic constants.
1995-01-04 22:41:16 +00:00
Karl Heuer
6a044d8689
(xcar, xcdr): Use correct shift and mask values.
1995-01-04 21:31:58 +00:00
Karl Heuer
dcda44ddbb
(xint): Use correct mask.
1995-01-04 21:28:53 +00:00
Richard M. Stallman
ee7a2de471
(term_init): Fatal error if screen is too small.
1995-01-04 19:09:36 +00:00
Richard M. Stallman
6a14015905
Use SAVE_MODIFF and BUF_SAVE_MODIFF
...
instead of direct access to the save_modiff field.
1995-01-04 19:08:56 +00:00
Richard M. Stallman
e343d389ac
(store_function_docstring): Arg is now EMACS_INT.
1995-01-04 07:19:10 +00:00
Karl Heuer
303a5c9357
Use consistent spelling in comments.
1995-01-03 01:45:36 +00:00
Karl Heuer
e2ba196c2a
(enum Lisp_Type): Don't use trailing comma.
...
(VALBITS, GCTYPEBITS): Define these regardless of NO_UNION_TYPE.
[!NO_UNION_TYPE] (union Lisp_Object): Use symbolic constants.
1995-01-03 01:35:49 +00:00
Karl Heuer
04ff97564e
(mark_object): Make `else' visible outside MULTI_FRAME.
1995-01-03 01:20:47 +00:00
Richard M. Stallman
99a3d506c1
(enum Lisp_Type): Delete Lisp_Buffer.
...
(enum Lisp_Misc_Type): Add Lisp_Misc_Float (not yet used).
(XSETBUFFER, BUFFERP, GC_BUFFERP): Rewrite to use pseudovectors.
(PVEC_BUFFER, PVEC_PROCESS, PVEC_FRAME, PVEC_COMPILED)
(PVEC_WINDOW, PVEC_WINDOW_CONFIGURATION, PVEC_SUBR):
Now enumeration constants, not macros.
(PVEC_FLAG): Enumeration alias for PSEUDOVECTOR_FLAG.
1995-01-02 21:58:40 +00:00
Richard M. Stallman
d281a86afb
Use BUF_MARKERS throughout.
1995-01-02 21:54:50 +00:00
Richard M. Stallman
336cd05669
(Fmake_indirect_buffer): New function.
...
(Fbuffer_base_buffer): New function.
(syms_of_buffer): defsubr them.
(reset_buffer): Don't alter intervals here.
(Fget_buffer_create): Use BUF_MARKERS. Init BUF_INTERVALS here.
(Fkill_buffer): Use BUF_MARKERS; but don't touch it in indir buf.
Likewise BUF_INTERVALS.
(init_buffer_once): Set up .text and BUF_INTERVALS
in buffer_local_symbols and buffer_defaults.
(Fkill_buffer): Don't free the text in indirect buffer.
When killing a base buffer, kill its indirect buffers first.
(set_buffer_temp): New function.
(reset_buffer_local_variables): Initialize buffer_file_type field.
(Fget_buffer_create): Initialize pt_marker, begv/zv_marker.
(set_buffer_internal): Use and update these markers.
Copy undo_list in and out of the base buffer.
(Fget_buffer_create): Init save_modiff field here.
(reset_buffer): Not here.
(Fbuffer_modified_p): Use BUF_SAVE_MODIFF.
(Fset_buffer_modified_p): Use SAVE_MODIFF.
(Fkill_buffer, list_buffers_1): Use BUF_SAVE_MODIFF.
(Fget_buffer_create): Initialize the size and text fields.
1995-01-02 21:50:28 +00:00