Stefan Monnier
4dc7c8d579
Merge from emacs-24
2012-07-17 07:52:00 -04:00
Dmitry Antipov
cce7fefcab
Cleanup and convert miscellaneous checks to eassert.
...
* alloc.c (mark_interval): Fix comment, partially rephrase
old comment from intervals.h (see below).
* intervals.c (find_interval, adjust_intervals_for_insertion)
(delete_interval, adjust_intervals_for_deletion)
(graft_intervals_into_buffer, temp_set_point_both, copy_intervals):
Convert to eassert.
(adjust_intervals_for_insertion, make_new_interval):
Remove obsolete and unused code.
* intervals.h (struct interval): Remove obsolete comment.
* textprotp.c (erase_properties): Remove unused code.
(Fadd_text_properties, set_text_properties_1, Fremove_text_properties)
(Fremove_list_of_text_properties): Convert to eassert.
2012-07-17 13:12:24 +04:00
Chong Yidong
9ea10cc343
Document insert-char changes.
...
* doc/emacs/basic.texi (Inserting Text): Replace ucs-insert with
insert-char. Provide more details of input.
* doc/lispref/mule.texi (International Chars, Input Methods): Likewise.
* doc/lispref/text.texi (Insertion): Document insert-char changes.
* src/editfns.c (Finsert_char): Doc fix.
2012-07-17 15:43:01 +08:00
Dmitry Antipov
3900d5de1b
Fix previous change to make Fmemory_free always accurate.
...
* alloc.c (make_interval): Update total_free_intervals.
(make_float): Likewise for total_free_floats.
(free_cons, Fcons): Likewise for total_free_conses.
(SETUP_ON_FREE_LIST, allocate_vector_from_block):
Likewise for total_free_vector_bytes.
(Fmake_symbol): Likewise for total_free_symbols.
(bytes_free): Remove.
2012-07-17 11:15:50 +04:00
Dmitry Antipov
7098646f5d
Simple free memory accounting feature.
...
* alloc.c (bytes_free, total_free_vector_bytes): New variable.
(sweep_vectors): Accumulate size of free vectors.
(Fgarbage_collect): Setup bytes_free.
(Fmemory_free): New function.
(syms_of_alloc): Register it.
2012-07-17 09:01:33 +04:00
Dmitry Antipov
22657b4098
Cleanup overlays checking.
...
* buffer.h (OVERLAY_VALID): Remove as useless synonym of OVERLAYP.
* buffer.c (overlay_touches_p, recenter_overlay_lists): Change to
eassert and OVERLAYP.
(sort_overlays): Change to use OVERLAYP.
2012-07-17 08:29:50 +04:00
René Kyllingstad
ddfc881345
Make insert-char interactive, and ucs-insert an obsolete alias for it.
...
* lisp/international/mule-cmds.el (ucs-insert): Make it an obsolete
alias for insert-char.
* editfns.c (Finsert_char): Make it interactive, and make the second
arg optional. Copy interactive spec and docstring from ucs-insert.
2012-07-17 12:17:23 +08:00
Paul Eggert
7c26cf3ccd
* floatfns.c (Fabs): Do not wrap fabs inside IN_FLOAT.
...
Unlike the other wrapped functions, fabs has an unspecified
effect on errno.
Fixes: debbugs:11913
2012-07-16 19:56:00 -07:00
Jan Djärv
5d127af98d
* nsterm.m (keyDown): Interpret flags without left/right bits
...
as the left key.
Fixes: debbugs:11670
2012-07-16 13:02:09 +02:00
Dmitry Antipov
6a0dd1d7e0
Remove empty and useless init functions.
...
* lisp.h (init_character_once, init_fns, init_image)
(init_filelock, init_sound): Remove prototype.
* character.c (init_character_once): Remove.
* filelock.c (init_filelock): Likewise.
* fns.c (init_fns): Likewise.
* image.c (init_image): Likewise.
* sound.c (init_sound): Likewise.
* emacs.c (main): Adjust accordingly.
2012-07-16 08:47:31 +04:00
Dmitry Antipov
7a6136fd76
* gtkutil.h: Tiny cleanups.
...
(use_old_gtk_file_dialog): Remove useless declaration.
(xg_uses_old_file_dialog): Add suggested const attribute.
2012-07-16 07:36:46 +04:00
Eli Zaretskii
ce811ad975
Fix bug #11943 with slow redisplay in large paragraphs full of weak characters.
...
src/bidi.c (MAX_STRONG_CHAR_SEARCH): New macro.
(bidi_paragraph_init): Use it to limit search forward for a strong
directional character in abnormally large paragraphs full of
neutral or weak characters.
2012-07-15 17:41:08 +03:00
Stefano Facchini
c9adfeaa04
* src/gtkutil.c (xg_create_tool_bar): Apply "primary-toolbar" style to
...
the toolbar.
(xg_make_tool_item): Give the widget event box a transparent background.
Fixes: debbugs:9451
2012-07-15 22:22:09 +08:00
Dmitry Antipov
fff62aa9ae
Cleanup basic allocation variables and functions.
...
* alloc.c (ignore_warnings, init_intervals, init_float)
(init_cons, init_symbol, init_marker): Remove.
(interval_block_index): Initialize to INTERVAL_BLOCK_SIZE.
(float_block_index): Initialize to FLOAT_BLOCK_SIZE.
(cons_block_index): Initialize to CONS_BLOCK_SIZE.
(symbol_block_size): Initialize to SYMBOL_BLOCK_SIZE.
(marker_block_index): Initialize to MARKER_BLOCK_SIZE.
(staticidx, init_alloc_once, init_strings, free_ablock):
Remove redundant initialization.
* fns.c (init_weak_hash_tables): Remove.
* lisp.h (init_weak_hash_tables): Remove prototype.
2012-07-15 15:17:09 +04:00
Dmitry Antipov
9730daca44
Use zero_vector where appropriate.
...
* alloc.c (zero_vector): Define as Lisp_Object. Adjust users
accordingly.
* lisp.h (zero_vector): New declaration.
* font.c (null_vector): Remove.
(syms_of_font): Remove initialization and staticpro.
(font_list_entities, font_find_for_lface): Change to use zero_vector.
* keymap.c (Faccessible_keymaps): Likewise.
2012-07-15 11:57:54 +04:00
Leo Liu
2e2d2a13e5
Add news for exclamation-mark and flymake
2012-07-15 08:52:16 +08:00
Leo Liu
cd276f6ef3
Add a new bitmap exclamation-mark
2012-07-14 19:44:39 +08:00
Eli Zaretskii
d9bee43796
Improve commentary in src/systime.h.
2012-07-14 14:32:01 +03:00
Eli Zaretskii
fbf31a9c2c
Don't use FILE_SYSTEM_CASE in MS-DOS, or anywhere else.
...
src/s/msdos.h (FILE_SYSTEM_CASE): Don't define.
src/fileio.c (FILE_SYSTEM_CASE): Don't define.
(Ffile_name_directory, Fexpand_file_name): Don't use FILE_SYSTEM_CASE.
Fixes problems on MS-DOS with Vtemp_file_name_pattern when
call-process-region passes it through expand-file-name.
src/dired.c (file_name_completion): Don't use FILE_SYSTEM_CASE.
admin/CPP-DEFINES: Remove FILE_SYSTEM_CASE.
2012-07-14 13:46:56 +03:00
Eli Zaretskii
5a1131d937
Adapt the MS-DOS build to the latest configury changes.
...
msdos/sed1v2.inp: In the recipe for $(leimdir)/leim-list.el, edit the
prerequisites to be "temacs$(EXEEXT) $(BOOTSTRAPEMACS)", to avoid
the need to rebuild $(bootstrap_exe), which requires a Unixy shell
via lisp/Makefile.in's "update-subdirs" command.
msdos/sedlibmk.inp (am_libgnu_a_OBJECTS): Adjust the removal of
careadlinkat.$(OBJEXT) to the changes in lib/Makefile.in.
msdos/sed2v2.inp (DATA_START, GC_SETJMP_WORKS, HAVE_MENUS)
(HAVE_MOUSE): Edit for DJGPP, according to what was previously
done on src/s/msdos.h.
msdos/gmalloc.c (GMALLOC_INHIBIT_VALLOC): Don't reference.
src/s/msdos.h (BSD_SYSTEM, DATA_START, GC_SETJMP_WORKS, HAVE_MOUSE)
(HAVE_MENUS): Don't define, defined by editing config.in with
msdos/sed2v2.inp.
(GMALLOC_INHIBIT_VALLOC): Don't define.
(MODE_LINE_BINARY_TEXT): Remove, not used anymore.
2012-07-14 13:08:14 +03:00
Juanma Barranquero
22e983b7ec
* nt/config.nt: Sync with autogen/config.in.
...
(GC_MARK_SECONDARY_STACK, GC_MARK_STACK, GC_SETJMP_WORKS)
(SETUP_SLAVE_PTY): New macros.
* src/s/ms-w32.h (GC_SETJMP_WORKS, GC_MARK_STACK): Set in nt/config.nt.
2012-07-14 04:26:31 +02:00
Juanma Barranquero
ed9265fc7d
Fix typos in ChangeLogs.
2012-07-14 04:08:32 +02:00
Glenn Morris
5b3f250f88
Move GC_SETJMP_WORKS, GC_MARK_STACK from src/s to configure
...
* configure.ac (GC_SETJMP_WORKS, GC_MARK_STACK): Move here from src/s.
(AH_BOTTOM): Move GC_SETJMP_WORKS GCC fallback to main body.
* src/s/aix4-2.h, src/s/freebsd.h, src/s/gnu-linux.h, src/s/hpux10-20.h:
* src/s/irix6-5.h, src/s/netbsd.h, src/s/sol2-6.h, src/s/unixware.h:
Let configure set GC_SETJMP_WORKS, GC_MARK_STACK.
2012-07-13 20:04:10 -04:00
Glenn Morris
5b63334279
Move GC_MARK_SECONDARY_STACK from src/s to configure
...
* configure.ac (GC_MARK_SECONDARY_STACK): Move here from src/s.
* src/s/gnu-linux.h (GC_MARK_SECONDARY_STACK): Let configure set it.
2012-07-13 17:54:35 -04:00
Glenn Morris
33d63ff4db
Move SETUP_SLAVE_PTY from src/s to configure
...
* configure.ac (SETUP_SLAVE_PTY): Move here from src/s.
(FIRST_PTY_LETTER, PTY_NAME_SPRINTF): Combine sol2/unixware cases.
* src/s/usg5-4-common.h (SETUP_SLAVE_PTY): Let configure set it.
* src/s/irix6-5.h (SETUP_SLAVE_PTY): No more need to unset it.
2012-07-13 17:45:55 -04:00
Jan Djärv
0dc8cf5002
Remove compiler warnings in objective-C files.
...
* nsfns.m (x_set_icon_name, ns_set_name_internal)
(ns_set_name_as_filename, ns_implicitly_set_icon_type)
(x_set_icon_type, ns_lisp_to_cursor_type, Fns_read_file_name)
(Fns_get_resource, Fns_set_resource, Fx_open_connection)
(Fns_font_name, Fns_perform_service)
(Fns_convert_utf8_nfd_to_nfc, ns_do_applescript)
(Fns_do_applescript, Fx_show_tip): Use SSDATA where appropriate.
(ns_set_name): Remove unused variable view.
(x_set_menu_bar_lines): Remove unused variable olines.
(x_set_tool_bar_lines): Remove unused variable root_window.
(Fns_list_colors): Put () around assignment in while statement.
(Fns_perform_service): Remove unused variable len.
(Fns_display_usable_bounds): Remove unused variable top.
(syms_of_nsfns): Remove unused variable i.
* nsfont.m (ns_get_family, ns_lang_to_script, ns_otf_to_script)
(ns_registry_to_script, ns_get_req_script, nsfont_open): Use SSDATA
where appropriate.
(ns_get_covering_families, ns_findfonts, nsfont_list_family): Put ()
around assignment in loop statement.
(nsfont_open): Remove unused variable i.
(nsfont_open): Remove unused variable len.
(nsfont_draw): Remove unused variable cs.
* nsimage.m (ns_load_image, allocInitFromFile): Use SSDATA where
appropriate.
(setXBMColor): Remove unused variable len.
(setPixmapData): Put () around assignment in loop statement.
* nsmenu.m (ns_update_menubar, ns_menu_show, process_dialog)
(initFromContents): Use SSDATA where appropriate.
(ns_update_menubar): Add braces to ambigous if-else.
(initWithTitle): Put () around assignment in if statement.
(ns_menu_show): Remove unused variables window and keymap.
(update_frame_tool_bar): Remove unused variable selected_p.
(initWithContentRect): Remove unused variable this_cmd_name.
* nsterm.h (menuDown): Add id as type to argument sender.
(ns_display_info_for_name): Add Lisp_Object argument.
(ns_term_init): Add Lisp_Object argument.
(ns_map_event_to_object): Add void argument.
(ns_string_from_pasteboard, ns_string_to_pasteboard): Add correct
prototype with arguments and only declare if __OBJC__.
(nxatoms_of_nsselect): Add void argument.
(ns_lisp_to_cursor_type): Add Lisp_Object argument.
(ns_alloc_autorelease_pool): Add void argument.
(ns_release_autorelease_pool): Add void* argument.
(ns_get_defaults_value): Add const char* argument.
* nsterm.m (uRect): Only define if NS_IMPL_GNUSTEP.
(x_free_frame_resources): Pass x_free_frame_resources to NSTRACE.
(ns_lisp_to_color, ns_string_to_lispmod, ns_term_init)
(ns_term_shutdown, requestService, initFrameFromEmacs): Use SSDATA
where appropriate.
(ns_exec_path, ns_load_path, changeFont): Put () around assignment used
as boolean expression.
(x_set_window_size): Remove unused variable toolbar.
(ns_get_color_default, ns_mod_to_lisp): Remove.
(ns_mouse_position): Remove unused variables xchar and ychar.
(ns_compute_glyph_string_overhangs): Remove unused variable face.
(ns_set_vertical_scroll_bar): Remove unused variable count.
(ns_delete_terminal): Remove unused variable i.
(ns_term_init): Remove unused variables r, g and b.
(mouseDown): Remove unused variable window.
(windowDidResize): Move definition of theWindow inside NS_IMPL_GNUSTEP.
(initFrameFromEmacs): Remove unused variable vbextra.
(mouseEntered): Remove unused variables p and dpyinfo.
(mouseExited): Remove unused variables p and r.
(ns_define_frame_cursor, ns_clear_frame_area)
(ns_draw_window_cursor, ns_initialize_display_info): Make static.
(menuDown): Assign [sender tag] to variable and cast the variable.
2012-07-13 20:03:10 +02:00
Jan Djärv
b55b9f85db
* nsmenu.m (ns_update_menubar): Exchange place of argument 2 and 3 to
...
memcpy.
Fixes: debbugs:11907
2012-07-13 19:07:02 +02:00
Jan Djärv
2277de02b9
* image.c (Fimagemagick_types): Initialize ex with GetExceptionInfo
...
and free it with DestroyExceptionInfo.
Fixes: debbugs:11558
2012-07-13 14:20:07 +02:00
Juanma Barranquero
ef099b57b6
* nt/config.nt: Sync with autogen/config.in.
...
(BROKEN_FIONREAD, BROKEN_GET_CURRENT_DIR_NAME)
(BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO, BROKEN_SIGPOLL)
(BROKEN_SIGPTY, BSD4_2, BSD_SYSTEM, BSD_SYSTEM_AHB, CYGWIN, DARWIN_OS)
(FIRST_PTY_LETTER, GNU_LINUX, G_SLICE_ALWAYS_MALLOC, HAVE_PTYS)
(HAVE_SOCKETS, HPUX, INTERRUPT_INPUT, IRIX6_5, NARROWPROTO, NO_ABORT)
(NO_EDITRES, NSIG_MINIMUM, PREFER_VSUSP, PTY_ITERATION
(PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP)
(SETPGRP_RELEASES_CTTY, SOLARIS2, TAB3, TABDLY, ULIMIT_BREAK_VALUE)
(UNIX98_PTYS, USG, USG5, XOS_NEEDS_TIME_H, _AIX): New macros.
(HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT):
Set in src/s/ms-w32.h, not here.
* src/s/ms-w32.h (FIRST_PTY_LETTER, HAVE_SOCKETS): Move to nt/config.nt.
(HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT):
Set here, not in nt/config.nt.
2012-07-13 13:49:26 +02:00
Eli Zaretskii
ea814a5df4
Fix bs-show when the right fringe is off.
...
src/xdisp.c (move_it_in_display_line_to): On GUI terminals, allow
cursor overflow into the last glyph on display line when the right
fringe is off. (Bug#11832)
2012-07-13 13:11:37 +03:00
Paul Eggert
1a95276708
* xdisp.c (produce_special_glyphs): Now static.
...
* dispextern.h (produce_special_glyphs): Remove decl.
2012-07-12 20:50:58 -07:00
Glenn Morris
32fb4bb69b
Remove some src/s files that are now empty
...
* configure.ac (opsysfile): Set to empty on gnu, cygwin.
* src/s/bsd-common, src/s/cygwin.h: Remove empty files.
* src/s/freebsd.h, src/s/netbsd.h: Do not include bsd-common.h.
2012-07-12 19:38:30 -07:00
Glenn Morris
983188fd54
Move "system type" macros from src/s to configure
...
* configure.ac (BSD4_2, BSD_SYSTEM, USG, USG5, _AIX, CYGWIN)
(DARWIN_OS, GNU_LINUX, HPUX, IRIX6_5, SOLARIS2):
Move "system type" macros here from src/s.
(BSD_SYSTEM_AHB): New hack macro.
(AH_BOTTOM): Set BSD_SYSTEM, using BSD_SYSTEM_AHB.
* src/s/usg5-4-common.h (USG, USG5):
* src/s/template.h (USG5, USG, HPUX, BSD4_2, BSD_SYSTEM):
* src/s/sol2-6.h (SOLARIS2):
* src/s/irix6-5.h (IRIX6_5):
* src/s/hpux10-20.h (USG, USG5, HPUX):
* src/s/gnu-linux.h (USG, GNU_LINUX):
* src/s/freebsd.h (BSD_SYSTEM):
* src/s/darwin.h (BSD4_2, BSD_SYSTEM, DARWIN_OS):
* src/s/cygwin.h (CYGWIN):
* src/s/bsd-common.h (BSD_SYSTEM, BSD4_2):
* src/s/aix4-2.h (USG, USG5, _AIX): Move "system type" macros to configure.
2012-07-12 19:34:05 -07:00
Glenn Morris
d1e6866717
ChangeLog fix
2012-07-12 19:23:57 -07:00
Paul Eggert
24ef80aebf
* nsfont.m (ns_charset_covers): Don't abort if no bitmap.
...
Fixes: debbugs:11853
2012-07-12 18:37:11 -07:00
Glenn Morris
739ae01050
Move NSIG_MINIMUM from src/s to configure
...
* configure.ac (NSIG_MINIMUM): Move here from src/s.
* src/s/usg5-4-common.h (NSIG_MINIMUM): Let configure set it.
2012-07-12 21:19:06 -04:00
Glenn Morris
dbee57935d
Move ULIMIT_BREAK_VALUE from src/s to configure
...
* configure.ac (ULIMIT_BREAK_VALUE): Move here from src/s.
* src/s/gnu-linux.h, src/s/irix6-5.h: Let configure set ULIMIT_BREAK_VALUE.
2012-07-12 20:19:10 -04:00
Glenn Morris
6de0e79903
Remove macro MIN_PTY_KERNEL_VERSION, only used in one place
...
* src/process.c (init_process_emacs): Replace MIN_PTY_KERNEL_VERSION.
* src/s/darwin.h (MIN_PTY_KERNEL_VERSION): Remove single-use macro.
2012-07-12 20:07:29 -04:00
Glenn Morris
4fae5a7a91
Move darwin.h's SYSTEM_PURESIZE_EXTRA setting to configure
...
* configure.ac (AH_BOTTOM) [DARWIN_OS]: Move SYSTEM_PURESIZE_EXTRA
setting here from src/s/darwin.h.
* src/s/darwin.h (SYSTEM_PURESIZE_EXTRA): Move to configure.
2012-07-12 20:00:23 -04:00
Glenn Morris
b82da769e5
Rename init_process rather than working around it on Darwin
...
The old name is also the name of a Mach system call.
* src/process.c (init_process_emacs): Rename from init_process.
* src/lisp.h, src/emacs.c: Update for this name change.
* src/nsgui.h, src/sysselect.h, src/s/darwin.h:
Remove workaround that is no longer needed.
2012-07-12 19:56:39 -04:00
Glenn Morris
ba9e4b84ac
Move NO_EDITRES from src/s to configure
...
* configure.ac (NO_EDITRES): Move here from src/s.
* src/s/aix4-2.h, src/s/hpux10-20.h: Let configure set NO_EDITRES.
2012-07-12 17:14:13 -04:00
Glenn Morris
a7208036ed
Do not unconditionally define HAVE_XRMSETDATABASE on some systems
...
* src/s/gnu-linux.h, src/s/hpux10-20.h:
Do not unconditionally define HAVE_XRMSETDATABASE.
Maybe there was a time when this made sense, but in the current tree
it is totally illogical. This is only used in xterm.c. If it is set
we call XrmSetDatabase, if not we do something else. Configure tests
for XrmSetDatabase and sets HAVE_XRMSETDATABASE accordingly. The only
possibility that is not totally nonsensical is that the system does in
fact have XrmSetDatabase but configure failed to find it (I don't see
how this could happen though...); in which case we should fix the
configure test rather than force the results. But this is not what
the (vague) comments say was happending.
The gnu-linux piece dates from 1995, the hpux one from 2000.
https://groups.google.com/forum/?fromgroups#!topic/gnu.emacs.bug/H24wEM8Vp9A
From: rainer@displaytech.com (Rainer Malzbender)
Subject: Compiling emacs 20.4 on HP-UX 10.20 with gcc
Date: 2000/02/01
Newsgroups: gnu.emacs.bug
2012-07-12 16:53:41 -04:00
Eli Zaretskii
5a97981785
Improve fix for bug #11832 with truncated/continued lines w/o margins.
...
src/xdisp.c (insert_left_trunc_glyphs): Fix incorrect size in
memmove call that removes glyphs covered by the left truncation
glyph. Improve commentary.
(display_line): Fix display of continuation glyphs on GUI frames
when the right fringe is turned off and variable-size fonts are
used in the window. Move the code that appends a stretch glyph to
produce_special_glyphs, so that it could be used for truncation
and continuation glyphs alike.
(produce_special_glyphs) [HAVE_WINDOW_SYSTEM]: Produce a stretch
glyph of a suitably computed width, to align the special glyphs at
the window margin. Code moved from display_line.
2012-07-12 22:55:01 +03:00
Glenn Morris
3e91a053d9
Move UNIX98_PTYS from src/s to configure
...
* configure.ac (UNIX98_PTYS): Move here from src/s.
* src/s/gnu-linux.h (UNIX98_PTYS): Let configure set it.
2012-07-12 15:48:21 -04:00
Paul Eggert
b300b1f424
Fix typos that broke OS X build.
...
Reported by Randal L. Schwartz in
<http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00225.html >.
* nsterm.m (ns_timeout): Add missing local decl.
(ns_get_color): snprintf -> sprintf, to fix typo.
2012-07-12 09:58:37 -07:00
Glenn Morris
3f922c3769
Move PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF from src/s to configure
...
* configure.ac (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Move here from src/s.
* src/s/aix4-2.h, src/s/cygwin.h, src/s/darwin.h:
* src/s/gnu-linux.h, src/s/hpux10-20.h, src/s/irix6-5.h:
* src/s/sol2-6.h, src/s/unixware.h, src/s/usg5-4-common.h:
Move PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF to configure.
2012-07-12 00:43:05 -07:00
Andreas Schwab
8a05d57a7d
Fixes: debbugs:11917
...
Fix crash when creating indirect buffer
* buffer.c (buffer_lisp_local_variables): Add argument CLONE.
Don't handle unbound variables specially if non-zero.
(Fbuffer_local_variables): Pass zero.
(clone_per_buffer_values): Pass non-zero.
2012-07-12 09:12:24 +02:00
Glenn Morris
0ab7b23ae0
Move PTY_OPEN from src/s to configure
...
* configure.ac (PTY_OPEN) Move here from src/s.
* src/s/cygwin.h, src/s/darwin.h, src/s/gnu-linux.h, src/s/irix6-5.h:
Move PTY_OPEN to configure.
2012-07-12 00:10:44 -07:00
Glenn Morris
6e7778482f
Move FIRST_PTY_LETTER, PTY_ITERATION from src/s to configure
...
* configure.ac (FIRST_PTY_LETTER PTY_ITERATION): Move here from src/s.
* src/s/aix4-2.h, src/s/bsd-common.h, src/s/cygwin.h, src/s/darwin.h:
* src/s/gnu-linux.h, src/s/hpux10-20.h, src/s/irix6-5.h, src/s/template.h:
* src/s/usg5-4-common.h: Move FIRST_PTY_LETTER, PTY_ITERATION to configure.
2012-07-11 23:34:40 -07:00
Dmitry Antipov
4a7edc24ba
Use empty_unibyte_string where applicable.
...
* keyboard.c (parse_tool_bar_item): Use empty_unibyte_string.
* lread.c (read1): Likewise.
* xsettings.c (syms_of_xsettings): Likewise.
2012-07-12 07:45:46 +04:00