Update smex after function calls that are likely to define new commands. #4

Closed
wants to merge 5 commits into
from
Commits on Sep 4, 2012
  1. Code cleanups

    DarwinAwardWinner committed Oct 2, 2011
    * Add new function `smex-update-if-needed` and use it where
      appropriate
    
    * Rename `update-smex-after` to `smex-auto-update-after`
    
    * Advice defined by `smex-auto-update-after` now only works when
      `smex-auto-update' is set to t.
    
    * Other minor cleanups
    
    These are all in one commit because they all affect overlapping lines,
    so separating them out would have been quite difficult.
  2. Ensure that advice never gives errors

    DarwinAwardWinner committed Jan 23, 2012
    Since this advice is attached to important emacs functions, it should
    prefer to just do nothing rather than throw an error.
  3. Update smex after "eval-expression"

    DarwinAwardWinner committed Aug 31, 2012
    This is normally bound to "M-S-:".