[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sat, 19 Nov 2011 20:08:16 +0000 (UTC)
Pan/0.133 (House of Butterflies)
Using GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.5)
I'm trying to make some changes to a new frame but it looks like the
function run on the hook after-make-frame-functions is affecting the
old frame not the new one.
Add the following hook. start emacs with
and you will get a printout in messages that the frame is in a terminal.
But that is not what I expect, the new frame is a window.
bug or feature ??
(defun start-theme (dummy)
(message "frame in window")
(message "frame in terminal")
(add-hook 'after-make-frame-functions 'start-theme)
kenneth johansson <=