aboutsummaryrefslogtreecommitdiff
path: root/emms-source-file.el
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2021-10-13 15:18:42 +1100
committerYuchen Pei <hi@ypei.me>2021-10-13 15:18:42 +1100
commit77c26b1b9a63d4a610cd0ba4693ffa24cc8ea64b (patch)
tree281cec8548563762a82ea2d9de354c5154036afa /emms-source-file.el
parentbbe2a14bed9716e6a6e16c281c85b305bd247cff (diff)
parentc42fab572846b1dd76d82c5293ccfb6ee2c45991 (diff)
Merge branch 'master' of git.savannah.gnu.org:/srv/git/emms
Diffstat (limited to 'emms-source-file.el')
-rw-r--r--emms-source-file.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/emms-source-file.el b/emms-source-file.el
index 56755af..7186a92 100644
--- a/emms-source-file.el
+++ b/emms-source-file.el
@@ -45,6 +45,7 @@
(require 'locate)
(error nil)))
(require 'dired)
+(require 'thingatpt)
(defgroup emms-source-file nil
"*Sources for EMMS that use the file system."
@@ -293,8 +294,7 @@ files) can play."
;;;###autoload (autoload 'emms-add-url "emms-source-file" nil t)
(define-emms-source url (url)
"An EMMS source for an URL - for example, for streaming."
- (interactive (list
- (read-string "Play URL: " (thing-at-point-url-at-point))))
+ (interactive (list (read-string "Play URL: " (thing-at-point-url-at-point))))
(emms-playlist-insert-track (emms-track 'url url)))
;;;###autoload (autoload 'emms-play-streamlist "emms-source-file" nil t)