1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-04 04:52:10 -08:00
Commit graph

14888 commits

Author SHA1 Message Date
Pavel Janík
5f351ff1f5 *** empty log message *** 2001-10-08 05:55:48 +00:00
Pavel Janík
479dfe879f *** empty log message *** 2001-10-08 05:48:56 +00:00
Pavel Janík
dff49fc8a1 *** empty log message *** 2001-10-08 05:36:22 +00:00
Pavel Janík
248ac61536 *** empty log message *** 2001-10-08 05:23:23 +00:00
Pavel Janík
af232c7d4b *** empty log message *** 2001-10-08 05:11:15 +00:00
Pavel Janík
1aad31e4d8 *** empty log message *** 2001-10-08 05:01:36 +00:00
Miles Bader
d876f455d1 *** empty log message *** 2001-10-07 12:07:34 +00:00
Miles Bader
aae5b72242 (lisp, shortlisp): Add `button.elc'. 2001-10-07 11:29:44 +00:00
Ken Raeburn
b056f36d10 * minibuf.c (Fminibuffer_prompt_end): Don't apply make_number to a Lisp_Object. 2001-10-07 11:03:59 +00:00
Ken Raeburn
0037e2f2cb * lisp.h (Ffield_end): Declare. 2001-10-07 11:02:52 +00:00
Gerd Moellmann
a4a74e8c0b *** empty log message *** 2001-10-07 00:26:13 +00:00
Gerd Moellmann
c4aeb9d84d (parse_modifiers, apply_modifiers): Use VALMASK. 2001-10-07 00:20:39 +00:00
Gerd Moellmann
d9eb1c3d52 Fix last change. 2001-10-07 00:14:18 +00:00
Gerd Moellmann
319f0b4f5f (make_gap): Use MOST_POSITIVE_FIXNUM. 2001-10-06 23:46:55 +00:00
Gerd Moellmann
29d823d63d (FLOAT_TO_INT2, FLOAT_TO_INT): Use FIXNUM_OVERFLOW_P. 2001-10-06 23:44:55 +00:00
Gerd Moellmann
f8edfd760d (Ffile_attributes): Use FIXNUM_OVERFLOW_P. 2001-10-06 23:41:39 +00:00
Gerd Moellmann
1a4372efcd *** empty log message *** 2001-10-06 23:38:11 +00:00
Gerd Moellmann
f28e63712d (Fbyte_code): Use MOST_POSITIVE_FIXNUM. 2001-10-06 23:37:52 +00:00
Gerd Moellmann
2e3bf02a1f (syms_of_bytecode) [BYTE_CODE_METER]: Doc fix.
(METER_CODE): Use MOST_POSITIVE_FIXNUM.
2001-10-06 23:36:22 +00:00
Gerd Moellmann
78e985eb6b (inhibit_garbage_collection): Simplify.
(Fmemory_use_counts): Ditto.
2001-10-06 23:32:01 +00:00
Gerd Moellmann
e6190b111d (most_positive_fixnum, most_negative_fixnum): New
variables.
(syms_of_data): DEFVAR_INT most-positive-fixnum and
most-negative-fixnum.
2001-10-06 23:25:26 +00:00
Gerd Moellmann
dc8e8b07bd (MOST_NEGATIVE_FIXNUM, MOST_POSITIVE_FIXNUM)
(FIXNUM_OVERFLOW_P): New macros.
2001-10-06 23:25:06 +00:00
Gerd Moellmann
2a34a036ff *** empty log message *** 2001-10-06 09:57:20 +00:00
Richard M. Stallman
be63c7b272 Format cleanups for old entries. 2001-10-06 02:18:09 +00:00
Miles Bader
4650e3623c *** empty log message *** 2001-10-05 16:48:46 +00:00
Miles Bader
f15340b797 (x_set_scroll_bar_background) [USE_TOOLKIT_SCROLL_BARS]:
Free scroll-bar shadow colors when the background color changes.
(Fx_create_frame, x_create_tip_frame) [USE_TOOLKIT_SCROLL_BARS]:
Initialize scroll-bar shadow-color fields.
2001-10-05 16:36:29 +00:00
Miles Bader
7c1bef7a5b (x_create_toolkit_scroll_bar): Try to allocate colors for the shadows,
and tell the toolkit about them if we succeed.
(x_destroy_window) [USE_TOOLKIT_SCROLL_BARS]: Free scroll-bar shadow colors.
2001-10-05 16:35:12 +00:00
Miles Bader
f9fdaa6a27 (struct x_output): Add scroll_bar_top_shadow_pixel and
scroll_bar_bottom_shadow_pixel fields.
2001-10-05 16:33:06 +00:00
Gerd Moellmann
ace64e0a1f *** empty log message *** 2001-10-05 12:54:15 +00:00
Gerd Moellmann
a9d14e54a8 (Fcopy_file): If NEWNAME is a directory copy FILE there. 2001-10-05 12:50:48 +00:00
Miles Bader
ec66bdc7f1 *** empty log message *** 2001-10-05 12:34:41 +00:00
Miles Bader
a346ec7215 (Fminibuffer_prompt_end, Fminibuffer_contents)
(Fminibuffer_contents_no_properties, Fdelete_minibuffer_contents):
New functions (were in simple.el).
(Fminibuffer_complete_and_exit, Fminibuffer_complete_word)
(read_minibuf, do_completion, Fminibuffer_completion_help): Use them.
(syms_of_minibuf): Initialize them.
2001-10-05 12:25:26 +00:00
Gerd Moellmann
a0fb44927f *** empty log message *** 2001-10-05 12:11:19 +00:00
Gerd Moellmann
c689204496 (tiff_error_handler, tiff_warning_handler): New functions.
(tiff_load): Install them as error and warning handler.
2001-10-05 11:22:57 +00:00
Gerd Moellmann
c89e4bc57f *** empty log message *** 2001-10-05 10:13:12 +00:00
Gerd Moellmann
f0e299dedc (XTread_socket): Return a non_ascii_keystroke for
unknown keysyms.

(error_msg): New variable.
(x_fatal_error_signal): New function.
(x_connection_closed): Set error_msg.  Install
x_fatal_error_signal as fatal_error_signal_hook around the call to
XtCloseDisplay.
2001-10-05 09:53:07 +00:00
Gerd Moellmann
36d8561d49 (MINI_WINDOW_P): Use NILP. 2001-10-05 09:52:23 +00:00
Gerd Moellmann
a97569cbf2 Use SYMBOL_VALUE/ SET_SYMBOL_VALUE macros instead of accessing
symbols' value directly.
2001-10-05 09:51:48 +00:00
Gerd Moellmann
a9dff54b94 (struct input_event): Use proper type for `kind'. 2001-10-05 09:51:00 +00:00
Gerd Moellmann
bf9f2aabfe (print_preprocess, print_object): Test internedness of
symbols differently.
2001-10-05 09:50:10 +00:00
Gerd Moellmann
f5c1dd0dc5 Use SYMBOL_VALUE/SET_SYMBOL_VALUE macros instead of accessing
symbols' value directly.
2001-10-05 09:49:39 +00:00
Gerd Moellmann
44c6c0191f (Fintern, Funintern): Set symbol's interned and constant
bit-fields.
(init_obarray): Likewise for t and nil.
2001-10-05 09:49:16 +00:00
Gerd Moellmann
a32fa73696 (LIST_END_P, FOREACH): New macros.
(pure_size) [HAVE_SHM]: Declare extern size_t.
(check_pure_size): Add prototype.

(enum symbol_interned): New enumeration.
(struct Lisp_Symbol): Remove member `obarray', add
`indirect_variable', `constant', and `interned'.
(SYMBOL_INTERNED_P, SYMBOL_INTERNED_IN_INITIAL_OBARRAY_P)
(SYMBOL_CONSTANT_P, SYMBOL_VALUE, SET_SYMBOL_VALUE): New macros.
(indirect_variable): Add prototype.
2001-10-05 09:48:47 +00:00
Gerd Moellmann
656280a67e (make_lispy_event) [HAVE_X_WINDOWS]: If we know
that EVENT->code isn't a function key, use the keysym's name.

Use SYMBOL_VALUE/SET_SYMBOL_VALUE macros instead of accessing
symbols' value directly.
2001-10-05 09:48:05 +00:00
Gerd Moellmann
19cebf5a64 (Fdefvaralias): New function.
(specbind): Simplify the test if symbol is a constant.
(syms_of_eval): Defsubr Fdefvaralias.
2001-10-05 09:46:11 +00:00
Gerd Moellmann
4fab758d0b (fatal_error_signal_hook): New variable.
(fatal_error_signal): Call that function.

(Fdump_emacs_data, Fdump_emacs): Call check_pure_size.
2001-10-05 09:45:30 +00:00
Gerd Moellmann
f35d5badef Use SYMBOL_VALUE/SET_SYMBOL_VALUE.
(Qcyclic_variable_indirection): New variable.
(Fkeywordp): Check for internedness differently.
(Fmakunbound): Simplify the test if symbol is a constant.
(indirect_variable, Findirect_variable): New functions.
(swap_in_symval_forwarding): If SYMBOL is an alias, use the
aliased symbol.
(let_shadows_buffer_binding_p): Check for variable aliases.
(set_internal): Simplify the test if SYMBOL is a constant.  If
SYMBOL has a buffer-local value and is an alias, use the aliased
symbol instead.
(syms_of_data): Initialze Qcyclic_variable_indirection and defsubr
Sindirect_variable.
2001-10-05 09:44:50 +00:00
Gerd Moellmann
cf29bf99c7 (ENCODE_SYSTEM, DECODE_SYSTEM): Define also for non-NT. 2001-10-05 09:44:02 +00:00
Gerd Moellmann
5133a57883 (Fbyte_code) <varref>: Use SYMBOL_VALUE.
(Fbyte_code) <varset>: Simplify the test if symbol's value can be
set directly.
2001-10-05 09:43:06 +00:00
Gerd Moellmann
9e71371586 (purebeg, pure_size, pure_bytes_used_before_overflow):
New variables.
(init_alloc_once): Initialize new variables.
(PURE_POINTER_P): Use new variables.
(pure_alloc): If pure storage overflows, allocate from the heap.
(check_pure_size): New function.
(Fgarbage_collect): Don't GC if pure storage has overflowed.

(Vpost_gc_hook, Qpost_gc_hook): New variables.
(syms_of_alloc): DEFVAR_LISP post-gc-hook, initialize
Qpost_gc_hook.
(Fgarbage_collect): Run post-gc-hook.

(Fmake_symbol): Adapt to changes of struct Lisp_Symbol.
2001-10-05 09:42:02 +00:00