unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Fran Litterio <flitterio@gmail.com>
Cc: bug-gnu-emacs@gnu.org, 2730@emacsbugs.donarmstrong.com
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	[thread overview]
Message-ID: <jwv7i2j9a5t.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <a5b589a70903201009l3d05f686qfa3fcdfbf79dbc18@mail.gmail.com> (Fran Litterio's message of "Fri, 20 Mar 2009 13:09:08 -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






      reply	other threads:[~2009-03-20 21:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-20 17:09 bug#2730: Patch to fix "Wrong number of arguments" error in with-selected-frame in CVS Emacs Fran Litterio
2009-03-20 21:08 ` Stefan Monnier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv7i2j9a5t.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=2730@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=flitterio@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).