Eli Zaretskii
ff137f16c3
(Finternal_complete_buffer): New function.
...
(syms_of_minibuf): Defsubr it.
(Fread_buffer): Use it, instead of Vbuffer_alist.
2006-09-02 11:21:55 +00:00
Romain Francoise
5deb7a514b
Whitespace fixes.
2006-09-01 20:49:06 +00:00
Chong Yidong
12bd42bee5
Minor doc fix.
2006-09-01 13:35:11 +00:00
Chong Yidong
eddc765847
Fix typo.
2006-09-01 13:30:05 +00:00
Chong Yidong
3e1451520b
* buffer.h (struct buffer_text): New field chars_modiff.
...
(CHARS_MODIFF, BUF_CHARS_MODIFF): New macros.
* buffer.c (Fbuffer_chars_modified_tick): New function returning
value of BUF_CHARS_MODIFF.
(syms_of_buffer): Defsubr it.
(Fget_buffer_create): Initialize BUF_CHARS_MODIFF.
* insdel.c (modify_region): New argument preserve_chars_modiff.
Set CHARS_MODIFF to MODIFF provided preserve_chars_modiff is zero.
(insert_1_both, insert_from_string_1, insert_from_buffer_1)
(adjust_after_replace, adjust_after_replace_noundo)
(replace_range, replace_range_2, del_range_2): Reset CHARS_MODIFF.
* lisp.h (modify_region): Add fourth argument in extern.
* casefiddle.c (casify_region): Call modify_region with fourth
argument zero to assert that CHARS_MODIFF is updated.
* editfns.c (Fsubst_char_in_region, Ftranslate_region_internal)
(Ftranspose_regions): Likewise.
* textprop.c (Fadd_text_properties, Fset_text_properties)
(Fremove_text_properties, Fremove_list_of_text_properties):
Call modify_region with fourth argument 1 to avoid that
CHARS_MODIFF is updated.
2006-09-01 13:28:13 +00:00
Richard M. Stallman
80e0572b0e
*** empty log message ***
2006-08-31 23:08:08 +00:00
Richard M. Stallman
de92d4d43e
(Fformat): Don't sign-extend for %o or %x.
2006-08-31 23:07:39 +00:00
Chong Yidong
41d24b39c7
* indent.c (Fvertical_motion): Don't move back if we were
...
displaying a Lisp string, either.
2006-08-29 22:17:05 +00:00
Kim F. Storm
62d8e3d40e
(get_window_cursor_type) [!HAVE_WINDOW_SYSTEM]:
...
Don't attempt to replace cursor on image glyphs.
2006-08-28 12:03:22 +00:00
Kim F. Storm
62d108d4b9
*** empty log message ***
2006-08-28 12:03:03 +00:00
Richard M. Stallman
24d8984e70
*** empty log message ***
2006-08-28 10:01:29 +00:00
Kenichi Handa
c6f8bb3abb
*** empty log message ***
2006-08-28 04:19:27 +00:00
Kenichi Handa
12e0131afb
(Fdetect_coding_region, Fdetect_coding_string): Fix
...
docstring about ISO-2022 control characters.
2006-08-28 04:18:47 +00:00
Kim F. Storm
7e87f9d8ae
(get_window_cursor_type): Replace BOX cursor on images
...
with a hollow box cursor if image is larger than 32x32 (or the default
frame font if that is bigger). Replace any other cursor on images
with hollow box cursor, as redisplay doesn't support bar and hbar
cursors on images.
2006-08-27 22:23:07 +00:00
Kim F. Storm
7b9c9125c1
*** empty log message ***
2006-08-27 22:22:38 +00:00
YAMAMOTO Mitsuharu
eb41104943
*** empty log message ***
2006-08-27 07:10:26 +00:00
YAMAMOTO Mitsuharu
b2aad248ba
(struct mac_output) [TARGET_API_MAC_CARBON]: Remove member
...
file_name.
(FRAME_FILE_NAME): Remove macro.
(install_window_handler, create_apple_event_from_event_ref):
Return OSStatus instead of OSErr.
2006-08-27 07:10:03 +00:00
YAMAMOTO Mitsuharu
3e7424f76a
(mac_draw_string_common, mac_query_char_extents)
...
(x_iconify_frame, XLoadQueryFont, install_window_handler)
(mac_handle_command_event, init_command_handler, init_menu_bar):
Use OSStatus instead of OSErr.
(x_free_frame_resources) [TARGET_API_MAC_CARBON]: Don't use
FRAME_FILE_NAME.
(x_query_font): Apply 2006-08-04 change for xterm.c.
(Qhi_command): Rename from Qhicommand. All uses changed.
2006-08-27 07:09:52 +00:00
YAMAMOTO Mitsuharu
31f9308585
(get_scrap_from_symbol, clear_scrap, put_scrap_string)
...
(put_scrap_private_timestamp, scrap_has_target_type, get_scrap_string)
(get_scrap_private_timestamp, get_scrap_target_type_list)
(x_own_selection, x_get_foreign_selection)
(Fx_disown_selection_internal, Fx_selection_owner_p)
(Fx_selection_exists_p): Use OSStatus instead of OSErr.
2006-08-27 07:09:41 +00:00
YAMAMOTO Mitsuharu
3bb4025e9f
[TARGET_API_MAC_CARBON] (mac_update_proxy_icon): Don't
...
use FRAME_FILE_NAME. Use (FS)UpdateAlias.
(Fx_create_frame): Apply 2006-07-03 for xfns.c.
2006-08-27 07:09:33 +00:00
YAMAMOTO Mitsuharu
270e593abd
(create_apple_event_from_event_ref, select)
...
(Fmac_get_file_creator, Fmac_get_file_type, Fmac_set_file_creator)
(Fmac_set_file_type, cfstring_create_normalized)
(mac_get_system_locale, select_and_poll_event, sys_select): Use
OSStatus instead of OSErr.
2006-08-27 07:09:23 +00:00
YAMAMOTO Mitsuharu
07927df07d
(in_sighandler): Remove extern.
2006-08-27 07:09:14 +00:00
YAMAMOTO Mitsuharu
cc4d4639cf
(in_sighandler): Remove variable.
...
(Fcurrent_idle_time): Add missing `doc:'.
(input_available_signal, init_keyboard): Undo previous change.
2006-08-27 07:09:06 +00:00
YAMAMOTO Mitsuharu
edc52b3fa1
[TARGET_API_MAC_CARBON] (image_load_qt_1): Use ComponentResult instead
...
of OSErr.
2006-08-27 07:08:54 +00:00
YAMAMOTO Mitsuharu
d15b573ed5
(directory_files_internal_unwind, directory_files_internal)
...
(file_name_completion): Add BLOCK_INPUT around opendir/closedir.
2006-08-27 07:08:39 +00:00
YAMAMOTO Mitsuharu
f3c4a0e1d2
(BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Undo previous
...
change. Move mutex lock/unlock operations inside BLOCK_INPUT.
2006-08-27 07:08:31 +00:00
Kim F. Storm
8929fd8784
(Fset_buffer_multibyte): Simplify; use list3.
2006-08-25 23:33:44 +00:00
Kim F. Storm
799734b063
(Fcurrent_time, Fget_internal_run_time): Simplify; use list3.
2006-08-25 23:33:30 +00:00
Kim F. Storm
a9f2aeaeed
(Fmake_directory_internal, Fdelete_directory)
...
(Fdelete_file): Simplify; use list1.
(Frename_file, Fadd_name_to_file, Fmake_symbolic_link):
Simplify; remove NO_ARG_ARRAY stuff, use list2.
2006-08-25 23:33:12 +00:00
Kim F. Storm
a508663b26
(Fxw_color_values): Simplify; use list3.
2006-08-25 23:33:04 +00:00
Kim F. Storm
d489b9c5be
*** empty log message ***
2006-08-25 23:32:17 +00:00
Richard M. Stallman
611ac52147
(Fswitch_to_buffer): Fix previous change.
2006-08-25 21:10:26 +00:00
Stefan Monnier
d0f891a742
(url-file-local-copy): Tell url-copy-file that the dest file will already exist.
2006-08-25 20:44:49 +00:00
Kim F. Storm
966949b00f
(Fcurrent_idle_time): Simplify.
2006-08-25 10:05:50 +00:00
Kim F. Storm
16fb6ded70
*** empty log message ***
2006-08-25 10:05:41 +00:00
Richard M. Stallman
3e04a8fc9f
*** empty log message ***
2006-08-25 07:51:57 +00:00
Richard M. Stallman
11f56bbcfe
(sxhash_string): Rotate properly; don't lose bits.
2006-08-25 07:47:12 +00:00
Kim F. Storm
8d8dafebb3
*** empty log message ***
2006-08-24 21:18:13 +00:00
Kim F. Storm
30f2752356
(x_underline_at_descent_line): New variable.
...
(syms_of_xterm): DEFVAR_BOOL it.
(x_draw_glyph_string): Use it.
Draw underline and overline up to the end of line if the face
extends to the end of line.
2006-08-24 20:52:00 +00:00
Kim F. Storm
daa0e79b0a
(overline_margin): New variable.
...
(x_produce_glyphs): Use it.
(syms_of_xdisp): DEFVAR_INT it.
2006-08-24 20:51:17 +00:00
Nick Roberts
fab45703d3
(Fswitch_to_buffer): Move buffer to front of
...
buffer-alist if necessary.
2006-08-24 20:40:53 +00:00
Nick Roberts
6410aac93b
*** empty log message ***
2006-08-24 20:40:26 +00:00
Kim F. Storm
462eca8fcf
(update_tool_bar): Redisplay toolbar also when only
...
number of items changes.
2006-08-22 21:32:04 +00:00
Kim F. Storm
6b4d876273
*** empty log message ***
2006-08-22 21:31:50 +00:00
Kim F. Storm
7e1de68d27
*** empty log message ***
2006-08-22 09:45:04 +00:00
Kim F. Storm
38babc072d
2006-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
...
(Fset_buffer_multibyte): Record proper undo entry.
2006-08-22 09:25:59 +00:00
Jan Djärv
f73858ce4d
* keyboard.c: Clarify difference between in_sighandler and
...
handling_signal.
2006-08-21 12:55:20 +00:00
Jan Djärv
922fd3cb7b
Clarify difference between in_sighandler and handling_signal.
2006-08-21 12:54:47 +00:00
Kim F. Storm
6c69392936
(x_draw_stretch_glyph_string): It is ok to draw a
...
stretch glyph in left marginal areas on header and mode lines.
2006-08-21 08:53:32 +00:00
Kim F. Storm
c58790e68a
*** empty log message ***
2006-08-21 08:52:54 +00:00