1. 01 May, 2019 3 commits
  2. 30 Apr, 2019 8 commits
    • Basil L. Contovounesios's avatar
      Minor region-noncontiguous-p simplification · 7dafbe3a
      Basil L. Contovounesios authored
      * lisp/simple.el (region-noncontiguous-p): Don't needlessly traverse
      region-bounds.
      7dafbe3a
    • Stefan Monnier's avatar
      * lisp/progmodes/cc-engine.el: Silence minor compiler warnings · 910d1707
      Stefan Monnier authored
      (c-restricted-<>-arglists, c-parse-and-markup-<>-arglists):
      Move declaration before first use.
      (c-after-change-unmark-raw-strings): Remove unused var `found-end`.
      910d1707
    • Paul Eggert's avatar
      Fix decode-time/encode-time roundtrip on macOS · 325f51c8
      Paul Eggert authored
      * src/timefns.c (Fencode_time): Ignore DST flag when the zone is
      numeric or is a cons, as the doc string says it’s ignored in that
      case, and not ignoring it causes encode-time to not invert
      decode-time on some platforms (Bug#35502).
      * test/src/timefns-tests.el (encode-time-dst-numeric-zone):
      New test.
      325f51c8
    • Stefan Monnier's avatar
      * lisp/progmodes/cc-fonts.el: Silence some compiler warnings · 35ef33dd
      Stefan Monnier authored
      (c-font-lock-declarators): Mark `id_end` and `not-top` as unused.
      35ef33dd
    • Paul Eggert's avatar
      Update from Gnulib · 46b434a6
      Paul Eggert authored
      * build-aux/config.guess, doc/misc/texinfo.tex:
      * lib/mktime-internal.h, lib/mktime.c, lib/timegm.c:
      Copy from Gnulib.
      * lib/gnulib.mk.in: Regenerate.
      46b434a6
    • Mattias Engdegård's avatar
    • Alan Mackenzie's avatar
      CC Mode: in certain font lock loops, check point is not beyond limit. · 28853721
      Alan Mackenzie authored
      * /lisp/progmodes/cc-fonts.el (c-font-lock-enum-body)
      (autodoc-font-lock-line-markup): As part of the `while' condition, check that
      the previous iteration of the loop hasn't moved point past `limit', thus
      obviating "wrong side of point" errors in re-search-forward, etc.
      28853721
    • Mattias Engdegård's avatar
      Don't poll auto-revert files that use notification (bug#35418) · c61bbb4c
      Mattias Engdegård authored
      It is a waste to periodically poll files that use change notification
      in auto-revert mode; stop doing that.  If no files need polling,
      turn off the periodic execution entirely to further avoid wasting power.
      Use a timer to inhibit immediate reversion for some time after a
      notification, for throttling.
      
      This change does not apply to files in global-auto-revert-mode, where
      polling is still necessary.  It is disabled by default, and enabled by
      setting `auto-revert-avoid-polling' to non-nil.
      
      * lisp/autorevert.el
      (toplevel): Require cl-lib.
      (auto-revert-avoid-polling, auto-revert--polled-buffers)
      (auto-revert--need-polling-p, auto-revert--lockout-interval)
      (auto-revert--lockout-timer, auto-revert--end-lockout): New.
      (global-auto-revert-mode): Keep notifiers for buffers in auto-revert mode.
      (auto-revert-set-timer): Use auto-revert--need-polling-p.
      (auto-revert-notify-handler): Restart polling if notification stopped.
      Use new lockout timer.
      (auto-revert-buffers):
      Use auto-revert--polled-buffers and auto-revert--need-polling-p.
      (auto-revert-buffers-counter, auto-revert-buffers-counter-lockedout):
      Remove.
      
      * etc/NEWS (Changes in Specialized Modes and Packages):
      Describe the new auto-revert-avoid-polling variable.
      
      * doc/emacs/files.texi (Reverting):
      Add paragraph describing auto-revert-avoid-polling.
      c61bbb4c
  3. 29 Apr, 2019 11 commits
  4. 28 Apr, 2019 15 commits
  5. 27 Apr, 2019 3 commits