1. 02 Sep, 2013 14 commits
  2. 01 Sep, 2013 11 commits
  3. 31 Aug, 2013 5 commits
  4. 30 Aug, 2013 2 commits
    • Glenn Morris's avatar
      * bytecomp.el (byte-recompile-directory): Fix is-this-a-directory logic. · 415f808e
      Glenn Morris authored
      Fixes: debbugs:15220
      415f808e
    • Dmitry Antipov's avatar
      Minor cleanup to avoid forward declarations. · 9d7693d7
      Dmitry Antipov authored
      * coding.h (struct ccl_spec): Remove forward declaration.
      * composite.h (toplevel): Include font.h.
      (struct composition_it, struct face, struct font_metrics):
      Remove forward declaration.
      * dispextern.h (struct image, struct atimer): Likewise.
      * emacsgtkfixed.h (struct frame): Likewise.
      * emacsgtkfixed.c (toplevel): Reorder headers and drop stdio.h.
      * font.h (struct font_driver, struct font, struct glyph_string)
      (struct face): Remove forward declaration.
      * fontset.h (struct face, struct font): Likewise.
      * frame.h (toplevel): Style cleanup.
      (enum output_method): Move to...
      * termhooks.h (enum output_method): ...here.
      (struct glyph, struct frame, struct ns_display_info)
      (struct x_display_info, struct w32_display_info):
      Remove forward declaration.
      * xterm.h (toplevel): Include termhooks.h.
      (struct font, struct window, struct glyph_matrix, struct frame)
      (struct input_event, struct face, struct image): Remove forward
      declaration.
      * gtkutil.h (struct _widget_value): Likewise.
      * keyboard.h (toplevel): Include termhooks.h.
      (struct input_event): Remove forward declaration.
      9d7693d7
  5. 29 Aug, 2013 8 commits
    • Stefan Monnier's avatar
      * lisp/textmodes/css-mode.el: Use SMIE. · 112798c1
      Stefan Monnier authored
      (css-smie-grammar): New var.
      (css-smie--forward-token, css-smie--backward-token)
      (css-smie-rules): New functions.
      (css-mode): Use them.
      (css-navigation-syntax-table): Remove var.
      (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
      (css-indent-calculate, css-indent-line): Remove functions.
      112798c1
    • Stefan Monnier's avatar
      Misc changes to reduce use of `(lambda...); and other cleanups. · 40f7e0e8
      Stefan Monnier authored
      * lisp/cus-edit.el: Use lexical-binding.
      (customize-push-and-save, customize-apropos)
      (custom-buffer-create-internal): Use closures.
      * lisp/progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
      * lisp/progmodes/ada-xref.el: Use setq.
      * lisp/net/tramp.el (with-tramp-progress-reporter): Avoid setq.
      * lisp/dframe.el: Use lexical-binding.
      (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
      * lisp/speedbar.el (speedbar-frame-mode): Adjust call accordingly.
      * lisp/descr-text.el: Use lexical-binding.
      (describe-text-widget, describe-text-sexp, describe-property-list):
      Use closures.
      * lisp/comint.el (comint-history-isearch-push-state): Use a closure.
      * lisp/calculator.el: Use lexical-binding.
      (calculator-number-to-string): Make it work with lexical-binding.
      (calculator-funcall): Same and use cl-letf.
      40f7e0e8
    • Stefan Monnier's avatar
      7763d67c
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/lisp.el (lisp--company-doc-buffer) · 2da4c3ab
      Stefan Monnier authored
      (lisp--company-doc-string, lisp--company-location): New functions.
      (lisp-completion-at-point): Use them to improve Company support.
      2da4c3ab
    • Stefan Monnier's avatar
      * lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal · f069bba8
      Stefan Monnier authored
      params of lambda expressions.
      (ruby-smie--implicit-semi-p): Refine rule.
      (ruby-smie--opening-pipe-p): New function.
      (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
      symbols and matched |...| for formal params.
      (ruby-smie-rules): Don't let the formal params of a "do" prevent it
      from being treated as hanging.  Handle "rescue".
      
      Fixes: debbugs:15208
      f069bba8
    • Glenn Morris's avatar
    • Dmitry Antipov's avatar
      * intervals.c (set_point_from_marker): New function. · 032f7451
      Dmitry Antipov authored
      * editfns.c (Fgoto_char):
      * process.c (Finternal_default_process_filter):
      * window.c (select_window_1): Use it.
      * buffer.h (set_point_from_marker): Add prototype.
      032f7451
    • Eli Zaretskii's avatar
      A possible fix for bug #14333 with hanging at exit on MS-Windows. · 3f940c5a
      Eli Zaretskii authored
       src/w32.c (term_winsock): Call release_listen_threads before calling
       WSACleanup.
       (_sys_wait_accept): Wait for accept event in a loop with a finite
       timeout, instead of waiting indefinitely.  Will hopefully avoid
       hanging during exit because WSACleanup deadlocks waiting for the
       event object to be released.
       src/w32proc.c (release_listen_threads): New function, signals all
       the reader threads that listen for connections to stop waiting.
       src/w32.h (release_listen_threads): Add prototype.
      3f940c5a