[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#2730: Patch to fix "Wrong number of arguments" error in with-selecte
From: |
Stefan Monnier |
Subject: |
bug#2730: Patch to fix "Wrong number of arguments" error in with-selected-frame in CVS Emacs |
Date: |
Fri, 20 Mar 2009 17:08:20 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) |
> The following bug exists in CVS Emacs as of 2009-03-20. In lisp/subr.el, the
> definition of with-selected-frame has a bug where select-frame is called
> with two arguments instead of one. This patch fixes that.
C-h f select-frame RET:
(select-frame frame &optional norecord)
...
so the problem you're trying to fix is elsewhere.
Actually, this second argument was added to select-frame specifically
for use in with-selected-frame ;-)
Stefan