Commits on Sep 2, 2016
  1. kmu-define-keys: treat _ as whitespace

    Previously `_' could only appear in place of a KEY, now it can also
    appear in place of a DEF.  That's not really, I think, but it helps
    avoiding user mistakes.
    committed Sep 2, 2016
  2. kmu-define-keys: expand to nicer form

    Expand to a call to `kmu-remove-key' or `kmu-define-key', or a `progn'
    or `eval-after-load' containing such forms, instead of something gross
    which does the work that is now done at macro-expansion time.
    This is done mainly so that users of e.g. `macrostep-expand' have
    something pretty and useful to look at, not for performance reasons.
    Remove the now unnecessary `kmu-define-keys-1' helper.  In the progress
    we lose a sanity check ("is the keymap really a keymap?") and it is no
    longer possible to abuse the helper to be able to directly modify a
    keymap instead of the keymap that is the value of a variable.
    committed Aug 31, 2016
  3. kmu-define-keys-1: don't remove new bindings again

    If a key is bound to some command and later it is removed again, then
    ignore the second instruction.  Now if we want to say both 'bind "b" to
    what "a" was previously bound to', as well as 'bind "c" to what "b" was
    previously bound to', we can just say:
      (kmu-define-key some-map nil
        "a" > "b" command-1
        "b" > "c" command-2)
    Previously that would have failed because '"b" >' removes the binding
    established with '"b" command-1.
    Instead we would have had to say:
      (kmu-define-key some-map nil
        "a" > "b" command-1
        "b" ~ "c" command-2)
    But if these two lines were far apart, then it would be easy to not
    realize that this was necessary.
    Also remove support for this `~' no-op.
    Note that the two keys have to be `equal' for the new approach to work.
    committed Aug 31, 2016
Commits on Aug 31, 2016
  1. kmu-define-keys-1: use cl-case instead of pcase

    Previously we used ' to quote symbols instead of `, but the former only
    works since v25.1, and the latter is ugly so we use `cl-case' instead.
    committed Aug 31, 2016
  2. kmu-define-keys: remove old kludge

    Since v24.4, more specifically 1809eef8b7f87b7d98b414f20ef61608e0582b0d,
    `eval-after-load' properly appends to `after-load-functions', so we no
    longer have to run `kmu-save-vanilla-keymap' in `kmu-define-keys' to
    ensure that it runs before we manipulate the keymap.
    committed Aug 31, 2016
Commits on May 23, 2016
  1. fix doc-string typos

    committed May 23, 2016
Commits on Feb 12, 2016
Commits on Nov 28, 2015
  1. fix doc-string typos

    committed Nov 28, 2015
Commits on Oct 30, 2015
Commits on Oct 8, 2015
  1. kmu-define-keys-1: add -> and > as synonyms for :remove

    This allows writing
      (kmu-define-keys some-map nil
        "RET" -> "return" some-command)
    where we would previously would have used
      (kmu-define-keys some-map nil
        "RET" :remove
        "return" some-command)
    committed Oct 8, 2015
Commits on Aug 5, 2015
  1. remove save-kmu-define-keys

    It's only used by `ork.el' and uses a symbol defined there.
    This will be added to `ork' as `ork-save-kmu-define-keys'.
    committed Aug 5, 2015
Commits on May 31, 2015
Commits on Dec 8, 2014
  1. quiet byte-compiler

    committed Dec 8, 2014
Commits on Mar 14, 2014
  1. bump to 0.5.0

    committed Mar 14, 2014
  2. quiet byte-compiler

    committed Mar 14, 2014
  3. cleanup section headings

    committed Mar 14, 2014
  4. remove dependency on naked.el

    committed Mar 14, 2014
  5. kmu-key-description: cosmetics

    committed Mar 14, 2014
  6. kmu-key-description: always return naked description

    Remove the NAKED argument.
    committed Mar 14, 2014
  7. kmu-key-description: remove most of doc-string

    The removed parts will come back along with tests.
    committed Mar 14, 2014
  8. make naked.el mandatory

    committed Mar 14, 2014
Commits on Mar 12, 2014
  1. kmu-save-vanilla-keymaps-mode: fix lighter

    Use the value of a variable that actually exists.
    committed Mar 12, 2014
Commits on Apr 27, 2013
Commits on Jan 14, 2013
Commits on Jan 13, 2013