aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoni Rabkin <yonirabkin@member.fsf.org>2014-04-22 13:22:55 -0400
committerYoni Rabkin <yonirabkin@member.fsf.org>2014-04-22 13:22:55 -0400
commit72d47f6eed655abd675b59abfd4c0c8af97680d9 (patch)
tree6a8d24f2a6c11b614b5eeb7791c6dcdc532b99a1
parent33947ba1bfbae48196d51e10c00c72fa24380e64 (diff)
* lisp/emms.el: Replace obsolete function.
This has the pleasant side effect of quietening the compiler.
-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))