New account switching functions.
authorSteve Youngs <steve@sxemacs.org>
Sat, 14 Oct 2017 02:09:03 +0000 (12:09 +1000)
committerSteve Youngs <steve@sxemacs.org>
Sat, 14 Oct 2017 02:09:03 +0000 (12:09 +1000)
commit1d0e1303ddda6ffe1aa651b35b14be05e720b262
treefdd61e4865f4b037ae3476c9989c0d203d685bd8
parent7e15cf6849c5497afb2e4d75584db6e04cbb0efa
New account switching functions.

This brings 3 new user functions for ease of switching accounts...

  `emoney-goto-default-account' -- switches directly to the default
    account.  See: `emoney-default-account'.
    Binding: `C-c d'

  `emoney-walk-accounts-next' -- switch to the 'next' account.
    Binding: `M-n'

  `emoney-walk-accounts-previous' -- switch to the 'previous' account.
    Binding: `M-p'

* emoney.el (emoney-goto-default-account): New convenience
function for quickly switching to the default account.
(emoney-walk-accounts): New. Walk through account list.
(emoney-walk-accounts-next): New. Switch to 'next' account in
list.
(emoney-walk-accounts-previous): New. Switch to 'previous' account
in list.
(emoney-mode-map): Add bindings for walk/goto-default functions.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
emoney.el