I attempted to create a new frame from the File menu.
The frame is created but I always get this error:
Debugger entered--Lisp error: (wrong-number-of-arguments #[nil
"=8c0=8c1!=83
=8c1=8c2!=88=8c0=8c3!=85=8c3=8c2!=87" [functionp tool-bar-mode -1
blink-cursor-mode] 2] 1)
#[nil "=8c0=8c1!=83\n=8c1=8c2!=88=8c0=8c3!=85=8c3=8c2!=87" [functionp
tool-bar-mode -1 blink-cursor-mode] 2](#<frame address@hidden
0x9312880>)
run-hook-with-args(#[nil
"=8c0=8c1!=83\n=8c1=8c2!=88=8c0=8c3!=85=8c3=8c2!=87" [functionp
tool-bar-mode -1 blink-cursor-mode] 2] #<frame address@hidden
0x9312880>)
make-frame()
make-frame-command()
call-interactively(make-frame-command)
As far as I can tell the problem is my initialisation
(setq after-make-frame-functions
(function (lambda (f) (tool-bar-mode -1))))
But the documentation for after-make-frame-functions suggests this is
correct and I call (tool-bar-mode -1) always in .emacs