1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-30 00:51:50 -08:00
Commit graph

23518 commits

Author SHA1 Message Date
Stefan Monnier
70b8d0a4a3 Make `window-system' into a keyboard-local variable (rather than
frame-local as done originally by multi-tty).

* startup.el (window-system): Remove.  Don't make it frame-local.

* keyboard.h (struct kboard): Add Vwindow_system.
* keyboard.c (init_kboard): Set a default for Vwindow_system.
(mark_kboards): Mark Vwindow_system.

* dispnew.c (syms_of_display) <window-system>: Declare terminal-local.
(init_display): Don't set the obsolete `window-system' frame-param.

* xterm.c (x_term_init):
* w32term.c (w32_create_terminal):
* term.c (init_tty): Set Vwindow_system.
* macterm.c (mac_create_terminal): Set a keyboard (missing piece of the
multi-tty merge maybe?), copied from w32term.c.  Set Vwindow_system.

* xfns.c (Fx_create_frame, x_create_tip_frame):
* w32fns.c (Fx_create_frame, x_create_tip_frame):
* macfns.c (Fx_create_frame):
Don't set the obsolete `window-system' frame-param.

* frame.h (Qwindow_system): Remove.
* frame.c (Qwindow_system): Remove.  In `syms_of_frame' as well.
(Fmake_terminal_frame): Don't set obsolete `window-system' frame-param.
2007-10-25 02:38:41 +00:00
Stefan Monnier
0923785f3c (read_key_sequence): Trivial typo in comment. 2007-10-24 02:22:21 +00:00
Juanma Barranquero
0f7f11b785 *** empty log message *** 2007-10-23 22:46:42 +00:00
Stefan Monnier
98228e72ca (unwind_request_sigio): Only define if __ultrix__. 2007-10-23 21:18:26 +00:00
Stefan Monnier
1baf6db97d (child_setup): Remove spurious *. 2007-10-23 21:17:37 +00:00
Stefan Monnier
4d0ac3d738 * lisp.h (Fget_text_property): Declare.
(have_menus_p): Declare it here rather than in sys-dep header files.
* macterm.h (have_menus_p):
* msdos.h (have_menus_p):
* xterm.h (have_menus_p): Remove.
2007-10-23 21:17:06 +00:00
Stefan Monnier
7357cb0467 (Fmake_variable_buffer_local, Fmake_local_variable)
(Fmake_variable_frame_local): Just check the variable's const-ness
rather than checking nil or t.
2007-10-23 20:56:27 +00:00
Jason Rumney
b00afeae42 include math.h 2007-10-22 23:20:11 +00:00
Jason Rumney
13790eaa98 (w32_abort): Move declaration to nt/config.nt. 2007-10-22 22:52:23 +00:00
Jason Rumney
c8f7c76b84 (HAVE_STDLIB_H): Define.
(abort): Redefinition moved to nt/config.nt.
2007-10-22 22:42:54 +00:00
Jason Rumney
866e6dd685 Remove, m/intel386.h is the file w32 uses. 2007-10-22 22:15:30 +00:00
Juanma Barranquero
e79beb56d9 (Fdump_emacs): Fix typo in message.
(syms_of_emacs) <kill-emacs-hook>: Fix typo in docstring.
<installation-directory>: Reflow docstring.
2007-10-22 02:15:02 +00:00
Juri Linkov
fb30dfd235 Allow minibuffer default to be a list of default values.
With empty input use the first element of this list as returned default.
(string_to_object):
(read_minibuf_noninteractive):  If defalt is cons, set val to its car.
(read_minibuf): If defalt is cons, set histstring to its car.
(Fread_string): If default_value is cons, set val to its car.
(Fread_buffer): If def is cons, use its car.
(Fcompleting_read): If defalt is cons, set val to its car.
2007-10-22 00:20:06 +00:00
Michael Albinus
1f163f2814 * fileio.c (Fcopy_file): Call file name handler with preserve_uid_gid. 2007-10-21 10:53:16 +00:00
Juanma Barranquero
db3534c36a (Fdocumentation): Check for advice in all cases. 2007-10-20 20:21:42 +00:00
Chong Yidong
b5322ed70f [HAVE_LIBRESOLV]: Add -lresolv to linker flags. 2007-10-19 20:40:59 +00:00
Chong Yidong
c6f18a070b * Makefile.in [HAVE_LIBRESOLV]: Add -lresolv to linker flags. 2007-10-19 20:40:24 +00:00
Richard M. Stallman
2a1534d3c3 (Fdocumentation): Check for and handle an advised function. 2007-10-19 17:23:38 +00:00
Juanma Barranquero
7b82c3b635 (Fset_process_filter): Doc fix. 2007-10-19 10:30:05 +00:00
Stefan Monnier
3278f20eee (read_key_sequence): Undo a change introduced by multi-tty
which caused key-translation-map to applied repeatedly (thus breaking
double-mode).
2007-10-18 22:07:34 +00:00
Glenn Morris
5d9c8a3406 Regenerate. 2007-10-18 04:46:28 +00:00
Stefan Monnier
99784d6399 * xselect.c (x_own_selection, x_handle_selection_clear)
(x_clear_frame_selections):
* w32menu.c (list_of_panes, list_of_items):
* w32fns.c (w32_color_map_lookup, Fx_create_frame, Fx_display_list):
* textprop.c (validate_plist, interval_has_all_properties)
(interval_has_some_properties, interval_has_some_properties_list)
(add_properties, text_property_list):
* process.c (Fget_buffer_process, list_processes_1, status_notify):
* minibuf.c (Fassoc_string):
* macselect.c (x_own_selection, x_clear_frame_selections)
(Fx_disown_selection_internal):
* keymap.c (Fcommand_remapping, where_is_internal, describe_map_tree):
Use CONSP rather than !NILP and XC[AD]R rather than Fc[ad]r.
2007-10-17 23:43:52 +00:00
Chong Yidong
08116b48fe Link to libs for calling res_init() if available.
(Fmake_network_process): Call res_init() before getaddrinfo or
gethostbyname, if possible.
2007-10-17 15:57:30 +00:00
Chong Yidong
44bb704d64 * process.c: Link to libs for calling res_init() if available.
(Fmake_network_process): Call res_init() before getaddrinfo or
gethostbyname, if possible.
2007-10-17 15:57:17 +00:00
Stefan Monnier
2504022a91 (read1): Set pvectype for char_tables. 2007-10-17 14:12:59 +00:00
Stefan Monnier
19fa82b957 (XMISCANY, XMARKER, XINTFWD, XBOOLFWD, XOBJFWD, XOVERLAY, XBUFFER_OBJFWD)
(XBUFFER_LOCAL_VALUE, XKBOARD_OBJFWD, XSAVE_VALUE): Add type checks.
(SOME_BUFFER_LOCAL_VALUEP, GC_SOME_BUFFER_LOCAL_VALUEP): Remove.
2007-10-17 02:13:01 +00:00
Stefan Monnier
d314756ea8 (free_misc): Use XMISCTYPE.
(live_misc_p, gc_sweep): Use Lisp_Misc_Any.
2007-10-17 02:10:38 +00:00
Glenn Morris
94b9aaa27d (Qcompletion_ignore_case): New external Lisp_Object.
(Fread_file_name): Use it rather than intern'ing.
2007-10-17 01:32:19 +00:00
Glenn Morris
ecd3f8b27a (Qcompletion_ignore_case): Change to external.
(syms_of_dired) [VMS]: Remove Qcompletion_ignore_case.
2007-10-17 01:31:14 +00:00
Glenn Morris
9fa5c213cf (Qcompletion_ignore_case): New Lisp_Object.
(syms_of_minibuf): Add Qcompletion_ignore_case.
2007-10-17 01:30:38 +00:00
Glenn Morris
c7183fb83f (Qcompletion_ignore_case): New external Lisp_Object.
(Fread_coding_system): Ignore case of user input.
2007-10-17 01:29:58 +00:00
Miles Bader
81d3d428c6 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-892
2007-10-16 22:39:24 +00:00
Stefan Monnier
9beb8baa1f * xfns.c (Fx_create_frame, Fx_display_list):
* window.c (window_fixed_size_p, enlarge_window, shrink_window_lowest_first):
* macterm.c (init_font_name_table):
* macfns.c (Fx_create_frame, Fx_display_list):
* lread.c (close_load_descs):
* keyboard.c (read_char_x_menu_prompt):
* fns.c (Fmember, Fmemql, Fdelete, Fset_char_table_parent):
* coding.c (code_convert_region_unwind): Test the type of an object
rather than just !NILP before extracting data from it.
2007-10-16 16:28:39 +00:00
Stefan Monnier
d3f41ff555 (Fpurecopy): Set the pvec tag on pseudo vectors. 2007-10-16 15:49:43 +00:00
Stefan Monnier
67ee9f6e91 * lisp.h (enum Lisp_Misc_Type): Del Lisp_Misc_Some_Buffer_Local_Value.
(XMISCANY): New macro.
(XMISCTYPE): Use it.
(struct Lisp_Misc_Any): New type.
(union Lisp_Misc): Use it.
(struct Lisp_Buffer_Local_Value): Add `local_if_set' bit.
* data.c (Fboundp, store_symval_forwarding, swap_in_global_binding)
(find_symbol_value, set_internal, default_value, Fset_default)
(Fmake_variable_buffer_local, Fmake_local_variable)
(Fkill_local_variable, Fmake_variable_frame_local, Flocal_variable_p)
(Flocal_variable_if_set_p, Fvariable_binding_locus):
The SOME_BUFFER_LOCAL_VALUEP distinction is replaced by local_if_set.
* alloc.c (allocate_buffer): Set the size and tag.
(allocate_misc, mark_maybe_object, mark_object, survives_gc_p):
Use XMISCANY.
(die): Follow the GNU convention for error messages.
* print.c (print_object): SOME_BUFFER_LOCAL_VALUEP -> local_if_set.
* buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Don't set the
tag any more.
(set_buffer_internal_1):
* frame.c (store_frame_param):
* eval.c (specbind):
* xdisp.c (select_frame_for_redisplay): Drop SOME_BUFFER_LOCAL_VALUEP.
2007-10-16 15:42:58 +00:00
YAMAMOTO Mitsuharu
da6658e85d (handle_display_prop): Ignore display specs after
replacing one when string text is being replaced.
(handle_single_display_spec): Pretend as if characters with display
property haven't been consumed only when buffer text is being replaced.
2007-10-16 09:00:09 +00:00
Stefan Monnier
11fb4bdbbd (Fsnarf_documentation): Simplify. 2007-10-16 03:28:43 +00:00
Miles Bader
b2529d56b5 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 116-121)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-889
2007-10-15 02:07:53 +00:00
Juanma Barranquero
decb374a42 (w32_font_is_double_byte, my_create_scrollbar): Make static.
(syms_of_w32term) <w32-enable-unicode-output>: Fix typo in docstring.
2007-10-15 00:23:32 +00:00
Stefan Monnier
b5a40ee7a9 (Fmake_indirect_buffer): Set the buffer's tag. 2007-10-14 19:45:17 +00:00
Richard M. Stallman
219ccf1b79 Line break fix. 2007-10-14 18:53:16 +00:00
Richard M. Stallman
8b34a5cc9a Line break fix. 2007-10-14 18:51:21 +00:00
Juanma Barranquero
fe4cd268c7 (Ffset): Save autoload of the function being set. 2007-10-14 18:02:05 +00:00
Juanma Barranquero
9ac66b4548 (do_autoload): Don't save autoloads. 2007-10-14 18:00:05 +00:00
Juanma Barranquero
35277b034b *** empty log message *** 2007-10-14 17:30:48 +00:00
Juanma Barranquero
764ea377da (Ffset): Save autoload of the function being set. 2007-10-14 17:21:39 +00:00
Juanma Barranquero
d945992e32 (do_autoload): Don't save autoloads. 2007-10-14 17:20:53 +00:00
Glenn Morris
7663ea748d John Paul Wallington <jpw at pobox.com>
(x_create_tip_frame): Set the `display-type' frame parameter before
setting up faces.
2007-10-14 02:50:11 +00:00
Glenn Morris
cedb4d8bb7 Comment. 2007-10-14 02:49:58 +00:00
Glenn Morris
35fdaa62d7 John Paul Wallington <jpw at pobox.com>
(x_create_tip_frame): Set the `display-type' frame parameter before
setting up faces.
2007-10-14 02:46:53 +00:00