aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emms.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emms.el b/lisp/emms.el
index d976017..5c2a4dd 100644
--- a/lisp/emms.el
+++ b/lisp/emms.el
@@ -739,7 +739,7 @@ for that purpose.")
(with-current-buffer buf
(emms-playlist-ensure-playlist-buffer))
(setq emms-playlist-buffer buf)
- (when (interactive-p)
+ (when (called-interactively-p 'interactive)
(message "Set current EMMS playlist buffer"))
buf))
@@ -756,7 +756,7 @@ buffer is also selected."
(funcall emms-playlist-default-major-mode))
(setq emms-playlist-buffer-p t))
(add-to-list 'emms-playlist-buffers buf)
- (when (interactive-p)
+ (when (called-interactively-p 'interactive)
(switch-to-buffer buf))
buf))