[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: warning about kill-new
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Tue, 21 Dec 2010 08:09:10 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 11460
- References: <87d3p17dkq.fsf@xxxxxxxxxxxxxxx> <b4mk4j9p3wv.fsf@xxxxxxx>
Herbert J. Skuhra wrote:
> For a few days I also get the error reported on the emacs-w3m mailing
> list[1]:
> Warning: ad-Orig-kill-new called with 3 arguments, but accepts only
> 1-2.
> I am a Wanderlust user.
> On Fri, 17 Dec 2010 Katsumi Yamaoka wrote:
>> Try: C-h f kill-new RET
>> And see what appears under the `This function is advised.' line.
> Before-advice `strip-keymap-properties-from-kill':
> Advised by emacs-w3m.
> Strip `keymap' or `local-map' properties from a killed string.
Thanks. I found the cause at last. That is in Emacs pre-23.3:
2010-11-18 Stefan Monnier <monnier@xxxxxxxxxxxxxxxx>
* simple.el (kill-new, kill-append, kill-region):
* comint.el (comint-kill-region): Make the yank-handler argument
obsolete.
Maybe mime-w3m.elc you use was compiled by Emacs 23.2 or 23.1.
Emacs 21.1~21.4, 23.3, 24, XEmacs, SXEmacs:
(kill-new string &optional replace)
Emacs 22.1~23.2:
(kill-new string &optional replace yank-handler)
I've modified the defadvice form in mime-w3m.el so as not to be
byte-compiled when building emacs-w3m (now the compilation will
tale place when loading mime-w3m.elc).
Regards,