[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs and window placement
From: |
tiefeng wu |
Subject: |
Re: emacs and window placement |
Date: |
Sun, 12 Jul 2009 00:24:30 +0800 |
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