unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: tiefeng wu <icebergwtf@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs and window placement
Date: Sun, 12 Jul 2009 00:24:30 +0800	[thread overview]
Message-ID: <4314c1f70907110924y65fd9b6ai59db1969be47f614@mail.gmail.com> (raw)
In-Reply-To: <87my7bqpt7.fsf@online.de>

[-- Attachment #1: Type: text/plain, Size: 385 bytes --]

hello all!I'm trying to bind f6 key to toggle 'pop-up-frames' variable by
insert following line in my .emacs file:

(global-set-key [f6] (lambda () (setq pop-up-frames (not pop-up-frames)))

and after restart emacs and press f6, emacs says "Wrong type argument:
commandp, (lambda nil (setq pop-up-frames (not pop-up-frames)))"

please give me some help, thanks!

tiefeng wu
2009--7-12

[-- Attachment #2: Type: text/html, Size: 541 bytes --]

  reply	other threads:[~2009-07-11 16:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-11 14:04 emacs and window placement henry atting
2009-07-11 16:24 ` tiefeng wu [this message]
2009-07-12 18:25   ` Drew Adams

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=4314c1f70907110924y65fd9b6ai59db1969be47f614@mail.gmail.com \
    --to=icebergwtf@gmail.com \
    --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).