GNU bug report logs - #2730
Patch to fix "Wrong number of arguments" error in with-selected-frame in CVS Emacs

Previous Next

Package: emacs;

Reported by: Fran Litterio <flitterio <at> gmail.com>

Date: Fri, 20 Mar 2009 17:20:03 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Fran Litterio <flitterio <at> gmail.com>
Cc: 2730 <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
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
> 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





This bug report was last modified 16 years and 125 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.