1. 16 Jul, 2014 5 commits
  2. 15 Jul, 2014 3 commits
  3. 14 Jul, 2014 8 commits
    • Daniel Colascione's avatar
      Unbreak compilation of derived cc-mode modes · fb32e9f8
      Daniel Colascione authored
      * lisp/progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
      Use `macroexpand-all' instead of `cl-macroexpand-all'.
      * lisp/progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
      to `macroexpand-all'
    • Paul Eggert's avatar
      Use binary-io module, O_BINARY, and "b" flag. · ba1ed52f
      Paul Eggert authored
      * admin/merge-gnulib (GNULIB_MODULES): Add binary-io.  It was already
      present implicitly; this just makes the dependence explicit.
      * lib-src/etags.c, lib-src/hexl.c, lib-src/make-docfile.c:
      Include binary-io.h instead of fcntl.h and/or io.h.
      (main): Use set_binary_mode or SET_BINARY
      in place of handcrafted code.
      * lib-src/etags.c (main) [DOS_NT]:
      * lib-src/movemail.c (main) [WINDOWSNT]:
      Don't mess with _fmode.
      * lib-src/etags.c (main, process_file_name, analyse_regex):
      Use fopen/popen's "b" flag instead.
      * lib-src/movemail.c (main, popmail): Use open/lk_open/mkostemp's O_BINARY
      * src/callproc.c (create_temp_file): Use mkostemp's O_BINARY flag.
      * src/emacs.c [MSDOS]:
      * src/emacs.c (main) [DOS_NT]: Don't mess with _fmode.
      (main) [MSDOS]: Use SET_BINARY instead of setmode.
      * src/minibuf.c: Include binary-io.h instead of fcntl.h.
      Use set_binary_mode instead of handcrafted code.
      Don't call emacs_set_tty if emacs_get_tty failed.
      * src/sysdep.c, src/systty.h (emacs_get_tty): Return int, not void.
      * src/sysdep.c (emacs_open, emacs_pipe): Use O_BINARY.
      * src/w32.c (pipe2): Adjust eassert to include O_BINARY.
      Fixes: debbugs:18006
    • Paul Eggert's avatar
    • Paul Eggert's avatar
      * macros.c (Fstart_kbd_macro): Simplify. · 918be627
      Paul Eggert authored
      This works around a GCC compiler bug when Emacs is configured with
    • Eli Zaretskii's avatar
    • Dmitry Antipov's avatar
      * term.c (tty_menu_add_pane, tty_menu_add_selection): · c299f850
      Dmitry Antipov authored
      Use menu_item_width.
      (tty_menu_show): Simplify because ty_menu_create never return NULL.
    • Dmitry Antipov's avatar
      * lisp.h (CHECK_VECTOR_OR_STRING): Return number of elements · 201b6857
      Dmitry Antipov authored
      or characters in string, respectively.  Add comment.
      * fringe.c (Fdefine_fringe_bitmap):
      * fns.c (Fsubstring, substring_both): Use it.
      * keymap.c (Fdefine_key, Flookup_key):
      * macros.c (Fstart_kbd_macro): Likewise.  Avoid call to Flength.
    • Paul Eggert's avatar
      * make-docfile.c: Simplify a bit, to simplify further refactoring. · a705278d
      Paul Eggert authored
      (outfile): Remove static var.  All uses changed to use stdout,
      since it's always stdout anyway.  While we're at it, prefer
      putchar/puts/fputs to printf when there are no format strings.
      (main): Use freopen rather than fopen, so that stdout is reused.
      Move O_BINARY stuff after the freopen, so it affects the
      reopened file.
      (write_c_args): Omit first arg, since it's always stdout now.
      All uses changed.
  4. 13 Jul, 2014 1 commit
    • Paul Eggert's avatar
      Improve behavior of 'bzr up; cd src; make -k'. · 4939f58d
      Paul Eggert authored
      * Makefile.in (ACLOCAL_INPUTS): Add all m4/*.m4 files.
      * src/Makefile.in (top_srcdir): New var.
      (ntsource, lispsource, ALL_CFLAGS, gl-stamp, emacs.res):
      Use '$(top_srcdir)' instead of '$(srcdir)/..';
      its expansion is a bit shorter.
      (../config.status): Actually build config.status instead of
      just complaining.
      New macros, copied and relocated from ../Makefile.in.
      ($(top_srcdir)/aclocal.m4, $(top_srcdir)/configure, config.in)
      (../config.status, Makefile): New dependencies and rules,
      copied with relocation from ../Makefile.in.  This should be more
      likely to rebuild the build machinery properly if you do a 'make'
      in the src directory.
  5. 12 Jul, 2014 9 commits
  6. 11 Jul, 2014 12 commits
  7. 10 Jul, 2014 2 commits