1. 20 May, 2010 3 commits
    • Juri Linkov's avatar
      * fileio.c (Fdelete_file): Change interative spec to use · 2e2bbddb
      Juri Linkov authored
      `read-file-name' like in `find-file-read-args' where the default
      value is `default-directory' instead of `buffer-file-name'.
    • Kevin Ryde's avatar
      Doc fix (Bug#6224). · 31c4aaf6
      Kevin Ryde authored
      * keyboard.c (Vlast_command, Vkeyboard_translate_table)
      (Voverriding_terminal_local_map, Vsystem_key_alist)
      (Vlocal_function_key_map): Fix manual link in docstring (Bug#6224).
    • Glenn Morris's avatar
      Handle auto-depend with configure. · 9d5cf9b6
      Glenn Morris authored
      * make-dist (src): Include *.mk.
      * config.bat: Concatenate deps.mk onto the end of src/Makefile.
      * configure.in (DEPFLAGS, MKDEPDIR): New output variables.
      (deps_frag): New output file.
      (AUTO_DEPEND): Remove this definition.
      * src/Makefile.in (DEPDIR): New constant.
      (DEPFLAGS): Set with configure, not cpp.
      (MKDEPDIR): New, set by configure.
      (.c.o, .m.o, ecrt0.o): Use $MKDEPDIR.
      (clean): Use $DEPDIR.
      (deps_frag): Include from configure.
      Move static/dynamic dependency stuff to deps.mk/autodeps.mk.
      * src/deps.mk, src/autodeps.mk: New files, extracted from Makefile.in.
      * msdos/sed1v2.inp (DEPFLAGS, deps_frag): Edit to empty.
      (MKDEPDIR): Edit to ':'.
  2. 19 May, 2010 4 commits
    • Eli Zaretskii's avatar
      Fix bug #6210. · ead6f8f5
      Eli Zaretskii authored
       bidi.c (bidi_cache_shrink, bidi_cache_iterator_state): Fix
       reallocation of the cache.
    • Glenn Morris's avatar
      Minor msdos build change. · d494e8f2
      Glenn Morris authored
      * msdos/sed2v2.inp (ORDINARY_LINK): Set here rather than in s/msdos.h.
      * src/s/msdos.h (ORDINARY_LINK): Move to sed2v2.inp.
    • Glenn Morris's avatar
      Set linker-related things with configure. · c1d0dcfd
      Glenn Morris authored
      * configure.in (LINKER, YMF_PASS_LDFLAGS): New output variables.
      (LIB_GCC): No need to set if ORDINARY_LINK.
      * src/Makefile.in (LD, YMF_PASS_LDFLAGS): Set with configure, not cpp.
      (GNULIB_VAR): Remove.
      (LIBES): Use LIB_GCC instead of GNULIB_VAR.
      * src/m/ibms390x.h (LINKER):
      * src/m/macppc.h (LINKER) [GNU_LINUX]:
      * src/s/aix4-2.h (ORDINARY_LINK):
      * src/s/cygwin.h (LINKER):
      * src/s/darwin.h (ORDINARY_LINK):
      * src/s/gnu.h (ORDINARY_LINK):
      * src/s/netbsd.h (LINKER):
      * src/s/usg5-4.h (ORDINARY_LINK):
      Move to configure.
      * msdos/sed1v2.inp (LD): Edit to $(CC).
      (YMF_PASS_LDFLAGS): Edit to `flags'.
    • Glenn Morris's avatar
      * s/aix4-2.h (LINKER): Remove; this file sets ORDINARY_LINK. · 7f34aec3
      Glenn Morris authored
      In any case, ORDINARY_LINK means uses the C compiler as the LINKER,
      so setting LINKER=cc is redundant.
  3. 18 May, 2010 7 commits
  4. 17 May, 2010 2 commits
  5. 16 May, 2010 9 commits
  6. 15 May, 2010 15 commits
    • Glenn Morris's avatar
      Always define LIBXMENU in src/Makefile.in. · 4235ca47
      Glenn Morris authored
      * configure.in (LIBXMENU): Set to empty if !HAVE_X_WINDOWS.
      * src/Makefile.in (LIBXMENU): Always define.
      * msdos/sed1v2.inp (LIBXMENU): Edit to empty.
      * msdos/sed1x.inp (LIBXMENU): Expect empty initial value.
    • Glenn Morris's avatar
      Always define OLDXMENU in src/Makefile.in. · 3545021d
      Glenn Morris authored
      * src/Makefile.in (OLDXMENU): Always define.
      * msdos/sed1v2.inp (OLDXMENU): Edit to empty.
      * msdos/sed1x.inp (OLDXMENU): Expect empty initial value.
    • Glenn Morris's avatar
      Always define LIBX_OTHER in src/Makefile.in. · 02d4ac0e
      Glenn Morris authored
      * src/Makefile.in (LIBX_OTHER): Always define.
      * msdos/sed1v2.inp (LIBX_OTHER): Edit to empty.
      * msdos/sed1x.inp (LIBX_OTHER): Expect empty initial value.
    • Glenn Morris's avatar
      Always define FONT_OBJ; to empty in the non-X case. · 6e546d18
      Glenn Morris authored
      * configure.in (FONT_OBJ): Set to empty if !HAVE_X_WINDOWS.
      * src/Makefile.in (FONT_DRIVERS): Remove, replace with $FONT_OBJ.
      * msdos/sed1v2.inp (FONT_OBJ): Edit to empty for non-X case.
      * msdos/sed1x.inp (FONT_OBJ): Edit to xfont.o for X case.
    • Ken Raeburn's avatar
      * lisp.h (XFLOAT_DATA): Use "0?x:x" to generate an rvalue. (bug#5916) · 52766425
      Ken Raeburn authored
      (LISP_MAKE_RVALUE) [!USE_LISP_UNION_TYPE && !__GNUC__]: Likewise.
    • Ken Raeburn's avatar
      * emacs.c (main): Initialize initial-environment and process-environment · 8b4eb796
      Ken Raeburn authored
      before generating from env, not after.
    • Ken Raeburn's avatar
      Handle --version reasonably in CANNOT_DUMP configuration. · 8c5ff6dd
      Ken Raeburn authored
      * src/emacs.c (emacs_version, emacs_copyright): New string
      (Vemacs_version, Vemacs_copyright): New Lisp_Object variables.
      (syms_of_emacs): Defvar them, and initialize them from the C
      string variables.
      (main): If initialization hasn't been done, print initial version
      info from the C strings, instead of starting an interactive session.
      * lisp/version.el (emacs-copyright, emacs-version): Don't define
      * configure.in: Look for version string in its new place.
    • Eli Zaretskii's avatar
      Avoid crashes when stepping with right-arrow through "^L^L". · 2e9abc3d
      Eli Zaretskii authored
       bidi.c (bidi_paragraph_init): Remove redundant assertion that we are at
       the beginning of a line after call to bidi_find_paragraph_start.
    • Eli Zaretskii's avatar
      Implement bidi-sensitive movement with arrow keys. · d20e1419
      Eli Zaretskii authored
       src/bidi.c (bidi_paragraph_init): Don't leave alone garbage values
       of bidi_it->paragraph_dir.  Call bidi_initialize if needed.
       src/xdisp.c (Fcurrent_bidi_paragraph_direction): New function.
       (syms_of_xdisp): Defsubr it.
       src/cmds.c (Fforward_char, Fbackward_char): Doc fix.
       src/subr.el (right-arrow-command, left-arrow-command): New functions.
       src/bindings.el (global-map): Bind them to right and left arrow keys.
       etc/NEWS: Mention current-bidi-paragraph-direction
    • Eli Zaretskii's avatar
      Fix "config msdos" step. · dbd3f723
      Eli Zaretskii authored
       src/Makefile.in: Fix MSDOS-related comments.
       msdos/sed3v2.inp (INSTALLABLES): Edit out extra ${EXEEXT} after "emacsclient".
       (emacsserver, timer, wakeup): Remove edit-out commands.
       msdos/sed1v2.inp (MSDOS_OBJ): Add w16select.o.
       (TERMCAP_OBJ): Add termcap.o.
    • Eli Zaretskii's avatar
      Fix a typo in msdos/ChangeLog. · 1edbd309
      Eli Zaretskii authored
    • Glenn Morris's avatar
      Choose dependency of oldxmenu using configure. · 1a82cca9
      Glenn Morris authored
      * configure.in (OLDXMENU_TARGET): New output variable.
      * src/Makefile.in (OLDXMENU_TARGET): New, set by configure.
      (really-lwlib, really-oldXMenu): Always define.
      ($OLDXMENU): Depend on $OLDXMENU_TARGET.
      * msdos/sed1v2.inp (OLDXMENU_TARGET): Edit to empty.
      * msdos/sed1x.inp (OLDXMENU_TARGET): Edit to really-oldxmenu.
    • Glenn Morris's avatar
      If HAVE_X11, also HAVE_X_WINDOWS and HAVE_MENUS. · 3df7b338
      Glenn Morris authored
      * src/Makefile.in: Simplify cpp conditional.
      * admin/CPP-DEFINES: Comment.
    • Glenn Morris's avatar
      Minor NS build fixes. · 2b5f541b
      Glenn Morris authored
      * Makefile.in (install-arch-dep): Update odd NS rule for Emacs version.
      * src/Makefile.in (${ns_appdir}): Simplify using umask.
    • Glenn Morris's avatar
      Remove references to CVS directories etc in Makefiles. · 02be533b
      Glenn Morris authored
      * Makefile.in (install-arch-indep): Remove references to RCS, CVS,
      and other files that no longer exist.
      * leim/Makefile.in (install): Remove references to CVS-related files.
      * lisp/Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
      Remove references to CVS, RCS and Old directories.
      * src/Makefile.in (${ns_appdir}): Remove references to CVS-related files.