1. 14 Jul, 2014 2 commits
    • 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.
  2. 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.
  3. 12 Jul, 2014 9 commits
  4. 11 Jul, 2014 12 commits
  5. 10 Jul, 2014 6 commits
  6. 09 Jul, 2014 10 commits
    • Paul Eggert's avatar
    • Paul Eggert's avatar
      * font.c, font.h (font_unparse_fcname): Now static. · f5075377
      Paul Eggert authored
      Define only if HAVE_XFT || HAVE_FREETYPE || HAVE_NS.
    • Stefan Monnier's avatar
      * lisp/vc/log-edit.el (log-edit-changelog-entries): Don't both visiting · 5d71cc6b
      Stefan Monnier authored
      a non-existing file.
      Fixes: debbugs:17970
    • Stefan Monnier's avatar
      * lisp/faces.el (face-name): Undo last change. · f972be09
      Stefan Monnier authored
      (x-resolve-font-name): Don't call face-name.
      Fixes: debbugs:17956
    • Sam Steingold's avatar
      Treat the perl keyword `constant' like `bless', `return' &c · 140ea213
      Sam Steingold authored
      * lisp/progmodes/cperl-mode.el (cperl-block-p): Tread the perl keyword
      `constant' like `bless', `return' &c
    • Dmitry Antipov's avatar
      * coding.c (ALLOC_CONVERSION_WORK_AREA): Prefer ptrdiff_t to int and · 205ededb
      Dmitry Antipov authored
      so avoid integer overflow if decoded gap size exceeds INT_MAX bytes.
    • Dmitry Antipov's avatar
      Next minor cleanup of font subsystem. · 876d043f
      Dmitry Antipov authored
      * font.h (enum font_property_index): Remove FONT_ENTITY_INDEX (no
      users) and FONT_FORMAT_INDEX (set by a few font drivers but never
      really used).
      * ftfont.h (ftfont_font_format): Remove prototype.
      * ftfont.c (ftfont_font_format): Remove; now unused.
      * nsfont.m (nsfont_open):
      * w32font.c (w32font_open_internal):
      * w32uniscribe.c (uniscribe_open):
      * xfont.c (xfont_open):
      * xftfont.c (xftfont_open): All users changed.
    • Fabián Ezequiel Gallina's avatar
      Fix dedenters and electric colon handling. · fded0b4a
      Fabián Ezequiel Gallina authored
      * lisp/progmodes/python.el
      (python-rx-constituents): Add dedenter and block-ender.
      (python-indent-dedenters, python-indent-block-enders): Delete.
      (python-indent-context): Return new case for dedenter-statement.
      (python-indent-calculate-indentation): Handle new case.
      (python-indent-calculate-levels): Fix levels calculation for
      dedenter statements.
      (python-indent-post-self-insert-function): Fix colon handling.
      (python-info-dedenter-opening-block-message): New function.
      (python-indent-line): Use it.
      (python-info-closing-block-message): Remove.
      (python-info-dedenter-statement-p): New functions.
      * test/automated/python-tests.el
      (python-indent-block-enders-2): Fix tests.
      (python-indent-dedenters-2): Remove tests.
      (python-info-dedenter-statement-p-5): New tests.
      Fixes: debbugs:15163
    • Stefan Monnier's avatar
    • Glenn Morris's avatar