emms-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emms-help] Re: `called-interactively-p' does not exist in Emacs 21.4


From: Michael Olson
Subject: [emms-help] Re: `called-interactively-p' does not exist in Emacs 21.4
Date: Sun, 25 Sep 2005 11:53:26 -0500
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Yoni Rabkin Katzenell <address@hidden> writes:

> The function emms-playlist-new calls the function
> `called-interactively-p', which does not exist in Emacs 21.4.
>
> This results in a run-time error.

I'm sending the following patch to forcer.

--- old-emms2/emms.el   2005-09-20 16:30:42.000000000 -0500
+++ new-emms2/emms.el   2005-09-25 11:37:08.000000000 -0500
@@ -462,7 +462,7 @@
       (when (not (eq major-mode emms-playlist-default-major-mode))
         (funcall emms-playlist-default-major-mode))
       (setq emms-playlist-buffer-p t))
-    (when (called-interactively-p)
+    (when (interactive-p)
       (switch-to-buffer buf))
     buf))

-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: anime, Debian, XHTML, wiki, Emacs Lisp
  /` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #PurdueLUG
 |_] | \| |_| Jabber: mwolson_at_hcoop.net

Attachment: pgpshA0d68ooM.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]