]> code.delx.au - gnu-emacs-elpa/commit
* ampc.el: Refine options for sending commands.
authorChristopher Schmidt <christopher@ch.ristopher.com>
Fri, 3 Aug 2012 07:35:43 +0000 (09:35 +0200)
committerChristopher Schmidt <christopher@ch.ristopher.com>
Fri, 3 Aug 2012 07:35:43 +0000 (09:35 +0200)
commit7d4a1c2788bb9e09e22907fb21ba6a81b546ee69
tree630916e963d1110ae7be0c4a99cf1f73a7680656
parentb8aa04dce6a094e93af72a85ba3a13dda7484e43
* ampc.el: Refine options for sending commands.
(ampc-send-command): Substitute optional argument unique with key argument list
props.
All callers changed to take advantage of the new options.
(ampc-send-next-command): Handle new command options.
(ampc-skip): Don't skip beyond playlist.
(ampc-fill-status-var): New function.
(ampc-handle-status): Store playlist length.  Use ampc-fill-status-var.
(ampc-handle-current-song): Use ampc-fill-status-var.
(ampc-delete): Move point to first deletion.  Remove marks.
(ampc-quit): Explicitly delete process.
ampc.el