Michael Olson <[EMAIL PROTECTED]> writes:

> Yoni Rabkin Katzenell <[EMAIL PROTECTED]> writes:
>
>> I get the following warning when compiling Emms2, freshly pulled form
>> darcs:
>>
>> In emms-player-mpd-ensure-process:
>> emms-player-mpd.el:342:8:Warning: `process-kill-without-query' is an obsolete
>>     function (as of Emacs 22.1); use `process-query-on-exit-flag' or
>>     `set-process-query-on-exit-flag'.
>
> Unfortunately, there doesn't seem to be anything I can do about that.
> I use `set-process-query-on-exit-flag' (the non-obsolete alternative),
> but since Emacs21 does not have this, I have to make sure that it
> exists, and if not, use `process-kill-without-query'.  Emacs22 does
> not realize that it can never call the obsolete version, so it spits
> out that warning anyway.

Have you tried `eval-when-compile'?

-- 
   "Cut your own wood and it will warm you twice"


_______________________________________________
Emms-help mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emms-help

Reply via email to