help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (frame-parameters nil 'font) don't work in WinXP!


From: Edi Weitz
Subject: Re: (frame-parameters nil 'font) don't work in WinXP!
Date: Tue, 02 Nov 2004 22:30:27 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt)

On Tue, 2 Nov 2004 22:21:21 +0100, "JS" <dsa.@asdf.com> wrote:

> When I try to use the commando:
>
> (frame-parameters nil 'font) C-j
>
> in my WinXP version of emacs I get the followin error:
>
> Debugger entered--Lisp error: (wrong-number-of-arguments #<subr
> frame-parameters> 2)
>   (frame-parameters nil (quote font))
>   eval((frame-parameters nil (quote font)))
>   eval-last-sexp-1(t)
>   eval-last-sexp(t)
>   eval-print-last-sexp()
> * call-interactively(eval-print-last-sexp)
>
> Does anybod know why??

Try

  C-h f frame-parameters RET

and you'll see that frame-parameters doesn't take two
arguments. That's also what the error message is telling you.

What you probably want is

  (assoc 'font (frame-parameters))

or

  (assoc 'font (frame-parameters my-frame))

where my-frame is the frame you want the information for.

And please don't crosspost the same question to several newsgroups
without indicating this.

Edi.

-- 

Lisp is not dead, it just smells funny.

Real email: (replace (subseq "spamtrap@agharta.de" 5) "edi")


reply via email to

[Prev in Thread] Current Thread [Next in Thread]