diff options
-rw-r--r-- | emms-browser.el | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/emms-browser.el b/emms-browser.el index 938a181..52a0eed 100644 --- a/emms-browser.el +++ b/emms-browser.el @@ -832,7 +832,7 @@ This will be a list of DB items." (interactive) (let* ((data (emms-browser-data-at-point))) (save-excursion - (next-line) + (next-line 1) (beginning-of-line) (dolist (data-item data) (emms-browser-insert-data-item data-item))))) @@ -1713,5 +1713,15 @@ If the track is not of TYPE, return t." (emms-track-get track 'last-played nil)) (time-less-p min-date last-played)))))) +;; -------------------------------------------------- +;; Compatability functions +;; -------------------------------------------------- + +(unless (fboundp 'with-selected-window) + (defalias 'with-selected-window 'save-selected-window)) + +(unless (fboundp 'run-mode-hooks) + (defalias 'run-mode-hooks 'run-hooks)) + (provide 'emms-browser) ;;; emms-browser.el ends here |