Subject: bug#1754: 23.0.60; tool-bar is shown with tool-bar-mode off

From: Stefan Monnier <[email-masked]>
Date: Sun, 11 Jan 2009 09:56:21 -0500

>>>>> "martin" == martin rudalics <[email-masked]> writes:

>> It's not a question of optimization but of semantics.
>> It seems cleaner to only add the setting to default-frame-alist if
>> that's possible.  Which is why I asked for a reason wy it's also added
>> to initial-frame-alist even tho it doesn't seem necessary.

> When the .emacs reader encounters the form

> (modify-all-frames-parameters (list (cons 'tool-bar-lines 1)))

> (setq default-frame-alist
>       (append (list (cons 'tool-bar-lines 0))
>               default-frame-alist))

The above two forms don't mention anything special about the
initial-frame, so I think that it's a bug if Emacs treats the initial
frame differently in this case.

        Stefan