unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Interactive with two arguments
Date: Sun, 23 Jun 2024 08:27:28 +0300	[thread overview]
Message-ID: <868qywfcu7.fsf@gnu.org> (raw)
In-Reply-To: <1ou67z7KzJVwNd3n_c_kLhO_xZR-mdeSxoUgHWDY9oy5fqvzHApVtisetUx2Q12qj25ut9sFxB9yT1cLwQM1cl57DpqhUZ4h8xYS7-CW-HU=@protonmail.com> (message from Heime on Sat, 22 Jun 2024 23:56:13 +0000)

> Date: Sat, 22 Jun 2024 23:56:13 +0000
> From: Heime <heimeborgia@protonmail.com>
> 
> Why does the following give me 
> 
> 
> wrong-number-of-arguments ((t) (face-family face-height)
> 
> 
> (defun falfont (face-family face-height)
> 
>   (interactive
>     (list
>       (let ( (cseq '("Wargames" "URW Chancery L" "UnPilgia" "UnPilgi"
>                      "Tibetan Machine Uni" "Lobster Two" "eufm10"
>                      "Century Schoolbook L" "Bold Oblique")) )
>         (completing-read " Face Family: " cseq nil t "Bold Oblique"))
> 
>       (let ( (hseq '("340" "320" "300" "280" "260" "240" "220" "200"
>                      "180" "160" "140" "120" "100" "80")) )
>         (completing-read "Face Height (in 1/10 pt): " hseq nil t "80")) )) )

It doesn't signal an error here.  What did you type at the two
prompts?



  reply	other threads:[~2024-06-23  5:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-22 23:56 Interactive with two arguments Heime
2024-06-23  5:27 ` Eli Zaretskii [this message]
2024-06-23  9:31   ` Heime

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=868qywfcu7.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).