diff options
author | Mark Oteiza <mvoteiza@udel.edu> | 2017-09-24 08:17:34 -0400 |
---|---|---|
committer | Mark Oteiza <mvoteiza@udel.edu> | 2017-09-24 08:22:12 -0400 |
commit | c7474fab180b57174edb3c949422e466100d605c (patch) | |
tree | d2c8003a53279dd4b30616a5cc190f86e844ce6f /lisp/emacs-lisp/lisp-mode.el | |
parent | 108df97bf7d9d93f9fe976ad1e52388920076eba (diff) | |
download | emacs-c7474fab180b57174edb3c949422e466100d605c.tar.gz emacs-c7474fab180b57174edb3c949422e466100d605c.tar.bz2 emacs-c7474fab180b57174edb3c949422e466100d605c.zip |
Expand recognized time intervals for MPC seeking
Now accepts [+-]H:M:S and subsets. Also accepts some odd variations of
it since the regexp is not strict. One unpleasant caveat is that
string-to-number simply returns zero on failure instead of signaling an
error. At the moment, there are cases where instead of getting
a user-error, the seek may simply not go where one expects it.
* lisp/mpc.el (mpc-read-seek): New function.
(mpc-seek-current): Use it.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
0 files changed, 0 insertions, 0 deletions