1. 25 Aug, 2013 1 commit
    • Alan Mackenzie's avatar
      Handle "/"s more accurately in test for virtual semicolons (AWK Mode). · b5eb9035
      Alan Mackenzie authored
      * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
      (c-awk-regexp-one-line-possibly-open-char-list-re)
      (c-awk-one-line-possibly-open-regexp-re)
      (c-awk-one-line-non-syn-ws*-re): Remove.
      (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
      (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
      (c-awk-space*-unclosed-regexp-/-re): New constants.
      (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
      aren't regexp delimiters.
      
      * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
      handling for a rare situation in AWK Mode involving unterminated
      strings/regexps.
      b5eb9035
  2. 24 Aug, 2013 5 commits
  3. 23 Aug, 2013 13 commits
  4. 22 Aug, 2013 4 commits
    • Paul Eggert's avatar
      * process.c (flush_pending_output): Remove stub. · 26495794
      Paul Eggert authored
      All uses removed.
      26495794
    • Paul Eggert's avatar
      * configure.ac (EMACS_CONFIG_OPTIONS): Quote systematically. · 917c483a
      Paul Eggert authored
      This improves on the patch already installed, by quoting options
      that contain spaces and suchlike systematically, so that
      EMACS_CONFIG_OPTIONS is no longer ambiguous when options contain
      these characters.
      
      Fixes: debbugs:13274
      917c483a
    • Stefan Monnier's avatar
      * lisp/erc/erc.el: Use lexical-binding. · d0fcaff5
      Stefan Monnier authored
      (erc-user-full-name): Minor CSE simplification.
      (erc-mode-map): Assume command-remapping is available.
      (erc-once-with-server-event): Replace `forms' arg with a function arg.
      (erc-once-with-server-event-global): Remove.
      (erc-ison-p): Adjust to change in erc-once-with-server-event.
      (erc-get-buffer-create): Remove arg `proc'.
      (iswitchb-make-buflist-hook): Declare.
      (erc-setup-buffer): Use pcase; avoid ((lambda ..) ..).
      (read-passwd): Assume it exists.
      (erc-display-line, erc-cmd-IDLE): Avoid add-to-list, adjust to change
      in erc-once-with-server-event.
      (erc-cmd-JOIN, erc-set-channel-limit, erc-set-channel-key)
      (erc-add-query): Minor CSE simplification.
      (erc-cmd-BANLIST, erc-cmd-MASSUNBAN): Adjust to change
      in erc-once-with-server-event.
      (erc-echo-notice-in-user-and-target-buffers): Avoid add-to-list.
      * lisp/erc/erc-track.el: Use lexical-binding.
      (erc-make-mode-line-buffer-name): Use closures instead of `(lambda...).
      (erc-faces-in): Avoid add-to-list.
      * lisp/erc/erc-notify.el: Use lexical-binding.
      (erc-notify-timer): Adjust to change in erc-once-with-server-event.
      (erc-notify-QUIT): Use a closure instead of `(lambda...).
      * lisp/erc/erc-list.el: Use lexical-binding.
      (erc-list-install-322-handler, erc-cmd-LIST): Adjust to change in
      erc-once-with-server-event.
      * lisp/erc/erc-button.el: Use lexical-binding.
      (erc-button-next-function): Use a closure instead of `(lambda...).
      d0fcaff5
    • Stefan Monnier's avatar
      * lisp/calendar/timeclock.el: Minor cleanups. · 8352b530
      Stefan Monnier authored
      (timeclock-ask-before-exiting, timeclock-use-display-time): Use `symbol'.
      (timeclock-modeline-display): Define as alias before the actual definition.
      (timeclock-mode-line-display): Use define-minor-mode.
      (timeclock-day-list-template): Make it a function, add an argument.
      (timeclock-day-list-required, timeclock-day-list-length)
      (timeclock-day-list-debt, timeclock-day-list-span)
      (timeclock-day-list-break): Adjust calls accordingly.
      8352b530
  5. 21 Aug, 2013 8 commits
  6. 20 Aug, 2013 8 commits
  7. 19 Aug, 2013 1 commit
    • Paul Eggert's avatar
      * image.c: Shrink memory needed for animation cache. · bb566cea
      Paul Eggert authored
      (SIGNATURE_DIGESTSIZE): New constant.
      (struct animation_cache): Make 'signature' a fixed size array of bytes.
      (imagemagick_create_cache): Copy the signature.  This saves
      several KB of memory that ImageMagick wastes per signature.
      Don't bother updating the update_time, as the caller does that now.
      (imagemagick_prune_animation_cache): Don't destroy the signature, as
      it's a fixed size struct member now.
      (imagemagick_get_animation_cache): Always destroy the signature,
      as it's now imagemagick_create_cache's responsibility to copy it.
      Avoid duplicate calls to strcmp and to imagemagick_create_cache,
      and use memcmp rather than strcmp.
      eassert that ImageMagick returns a signature of the specified length.
      bb566cea