1. 07 Aug, 2019 1 commit
    • Stuart Hickinbottom's avatar
      Prevent duplicate idle timers being created · 5bf0ed33
      Stuart Hickinbottom authored
      I found that when combined with desktop-save-mode, upon session
      reloading in a new Emacs instance, then gcmh-mode would be enabled
      multiple times even when it was already active. This causes multiple
      duplicate idle timers to be created (one for each time the mode is
      enabled).
      
      The same effect can be provoked by manually running (gcmh-mode t)
      multiple times.
      
      The effect of this is garbage collection being executed multiple times
      each time the idle time expired.
      
      I noticed this because GC was slower than expected, and turning on
      gcmh-verbose revealed all those duplicate GC events each time Emacs
      had been idle.
      
      This change simply removes any extant timer before enabling the mode
      so we're guaranteed to only have one or zero idle timers defined.
      5bf0ed33
  2. 26 Jun, 2019 2 commits
  3. 17 May, 2019 1 commit
    • CeleritasCelery's avatar
      Update conventions · 72683e16
      CeleritasCelery authored
      First removed the unnecessary require statements. Then update some of
      the wording to be clearer. Reworked the minor mode to be cleaner and
      more consise. Split out the idle timer function to its own definition.
      Also removed the setting of garbage-collection-messages. It may not be
      desired behavior and does not disable with the minor mode. If the user
      wants to set it, they can do so.
      72683e16
  4. 11 May, 2019 1 commit
  5. 05 May, 2019 2 commits
  6. 22 Apr, 2019 3 commits
  7. 12 Apr, 2019 2 commits
  8. 11 Apr, 2019 2 commits
  9. 10 Apr, 2019 2 commits