1. 19 Jul, 2012 4 commits
    • Dmitry Antipov's avatar
      Compact buffers when idle. · 9cd47b72
      Dmitry Antipov authored
      * lisp/compact.el: New file.
      * src/buffer.c (compact_buffer, Fcompact_buffer): New function.
      (syms_of_buffer): Register Fcompact_buffer.
      * src/alloc.c (Fgarbage_collect): Use compact_buffer.
      * src/buffer.h (compact_buffer): New prototype.
      (struct buffer_text): New member.
    • Stefan Monnier's avatar
      * lisp/subr.el (eventp): Presume that if it looks vaguely like an event, · 1d6fc0df
      Stefan Monnier authored
      it's an event.
      Fixes: debbugs:10190
    • Dmitry Antipov's avatar
      New macro to iterate over all buffers, miscellaneous cleanups. · d17337e5
      Dmitry Antipov authored
      * lisp.h (all_buffers): Remove declaration.
      * buffer.h (all_buffers): Add declaration, with comment.
      (for_each_buffer): New macro.
      * alloc.c (Fgarbage_collect, mark_object): Use it.
      * buffer.c (Fkill_buffer, Fbuffer_swap_text, Fset_buffer_multibyte)
      (init_buffer): Likewise.
      * data.c (Fset_default): Likewise.
      * coding.c (code_conversion_restore): Remove redundant check
      for dead buffer.
      * buffer.c (Fkill_buffer): Likewise.  Remove obsolete comment.
    • Fabián Ezequiel Gallina's avatar
      Enhancements to ppss related code (thanks Stefan). · 1d29cc7d
      Fabián Ezequiel Gallina authored
      * progmodes/python.el (python-indent-context)
      (python-indent-calculate-indentation, python-indent-dedent-line)
      (python-indent-electric-colon, python-nav-forward-block)
      (python-info-assignment-continuation-line-p): Simplified checks
      for ppss context.
      (python-info-continuation-line-p): Cleanup.
      (python-info-ppss-context): Do not catch 'quote.
      (python-info-ppss-comment-or-string-p): Simplify.
  2. 18 Jul, 2012 23 commits
  3. 17 Jul, 2012 13 commits