1. 31 Jul, 2012 30 commits
  2. 30 Jul, 2012 10 commits
    • Glenn Morris's avatar
      Use an include file in configure.ac's AH_BOTTOM · b429a4ee
      Glenn Morris authored
      * configure.ac (AH_BOTTOM): Use an include file, so that the
      contents do not get processed by autoheader.  Eg this prevents undefs
      being commented out, and is the recommended technique from the
      autoconf manual.
      * src/conf_post.h: New, split from configure.ac's AH_BOTTOM.
      * src/Makefile.in (config_h): Add conf_post.h.
      * src/makefile.w32-in (CONFIG_H): Add conf_post.h.
    • Paul Eggert's avatar
      Do not overwrite config.status while executing it. · 8f25abd3
      Paul Eggert authored
      * Makefile.in (MAKEFILE_NAME): New macro.
      ($(MAKEFILE_NAME)): Rename rule from Makefile.
      * configure.ac (epaths): Set MAKEFILE_NAME to a bogus value,
      so that GNU 'make' isn't tempted to make the Makefile and then
      regenerate config.status while config.status is running.
      Fixes: debbugs:11214
    • Jan Djärv's avatar
      Don't open files from Cocoa-parsed command line. · adff3182
      Jan Djärv authored
      --eval '(whatever)' will open '(whatever)' if --eval is the last option.
      * src/nsterm.m (ns_do_open_file): New variable.
      (ns_term_init): Set ns_do_open_file to NO after run returns.
      (openFile, openTempFile, openFileWithoutUI, openFiles): Open
      files only if ns_do_open_file.
    • Stefan Merten's avatar
      Silence `checkdoc-ispell'. · 1f45e27e
      Stefan Merten authored
      (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
      (rst-official-version, rst-official-cvs-rev)
      (rst-package-emacs-version-alist): Update to upstream V1.3.1.
      (rst-mode-map): New key binding.
    • Paul Eggert's avatar
      * lisp.h (SWITCH_ENUM_CAST): Remove. All uses removed. · 7393bcbb
      Paul Eggert authored
      This no-op macro hasn't been needed for many years.
      * src/regex.c (SWITCH_ENUM_CAST) [!emacs]: Likewise.
    • Paul Eggert's avatar
      Export DIRECTORY_SEP, TYPEMASK, VALMASK to GDB. · c32af1e4
      Paul Eggert authored
      * alloc.c (gdb_make_enums_visible) [USE_LSB_TAG]: Add lsb_bits.
      * lisp.h (enum lsb_bits) [USE_LSB_TAG]: New enum, for
      (TYPEMASK, VALMASK) [USE_LSB_TAGS]: Now enum constants, not macros.
      (DIRECTORY_SEP): Now a constant, not a macro.
    • Eli Zaretskii's avatar
      Fix bug #12082 with input of Meta-non-ASCII-characters on MS-Windows. · 302fc036
      Eli Zaretskii authored
       src/w32fns.c (w32_wnd_proc): Pass w32_keyboard_codepage to
       w32_kbd_patch_key as the 2nd arg.
       src/w32term.c <w32_keyboard_codepage>: Renamed from
       keyboard_codepage and now external.  All users changed.
       src/w32term.h: Add declaration of w32_keyboard_codepage.
       src/w32inevt.c (w32_kbd_patch_key): Accept an additional argument --
       the codepage to translate keys to Unicode.  If this argument is
       -1, use the value returned by GetConsoleCP.  All callers changed.
    • Paul Eggert's avatar
      Update .PHONY listings in makefiles. · 0aee6912
      Paul Eggert authored
    • Paul Eggert's avatar
      * lisp.h (STRING_BYTES_BOUND): Cast entire result to ptrdiff_t. · 88fb40b4
      Paul Eggert authored
      This is a bit clearer.  Fix some commentary typos.
    • Glenn Morris's avatar
      Move TIOCSIGSEND from src/s to configure · b65e7c46
      Glenn Morris authored
      * configure.ac (TIOCSIGSEND): Move here from src/s.
      * src/s/usg5-4-common.h (TIOCSIGSEND): Let configure set it.
      * src/s/irix6-5.h (TIOCSIGSEND): No more need to undefine.