From 72d47f6eed655abd675b59abfd4c0c8af97680d9 Mon Sep 17 00:00:00 2001 From: Yoni Rabkin Date: Tue, 22 Apr 2014 13:22:55 -0400 Subject: * lisp/emms.el: Replace obsolete function. This has the pleasant side effect of quietening the compiler. --- lisp/emms.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp') 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)) -- cgit v1.2.3