diff options
author | Yoni Rabkin <yoni@rabkins.net> | 2021-04-29 13:07:43 -0400 |
---|---|---|
committer | Yoni Rabkin <yoni@rabkins.net> | 2021-04-29 13:07:43 -0400 |
commit | d56d7053a08beab4c4cf047628f6c417bfccb2f2 (patch) | |
tree | 189a430110bea25a1e9ef7212a79c855981b2d7c /Makefile | |
parent | 3a8ba30d1fb8d94ab3c63aa678a0059cc8b48b2f (diff) |
emms-(playing-time|mode-line).el: Use `define-minor-mode`
* emms-mode-line.el (emms-mode-line-active-p): Rename to
`emms-mode-line-mode`.
(emms-mode-line-mode): New minor mode, extracted from `emms-mode-line`.
(emms-mode-line): Use it and mark as obsolete.
(emms-mode-line-enable, emms-mode-line-toggle): Adjust accordingly and
mark as obsolete as well.
(emms-mode-line-disable): Adjust accordingly.
* emms-playing-time.el (emms-playing-time-display-p): Rename to
`emms-playing-time-display-mode`.
(emms-playing-time-display-mode): New minor mode.
(emms-playing-time-p): Rename to `emms-playing-time-mode`.
(emms-playing-time-mode): New minor mode, extracted from
`emms-playing-time`.
(emms-playing-time): Use it and mark as obsolete.
(emms-playing-time-display-mode, emms-playing-time-display-mode):
Adjust and mark as obsolete.
* emms-setup.el (emms-all): Avoid the now obsolete functions.
patch by Stefan Monnier
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions