18 Nov
2008
18 Nov
'08
1:07 p.m.
Am 18.11.2008 um 06:05 schrieb Tom Lane:
(add-hook 'term-setup-hook #'(lambda () (menu-bar-mode -1))) (add-hook 'term-setup-hook #'(lambda () (tool-bar-mode -1)))
I'm not sure if this is still considered the optimal way to disable menu/toolbar stuff, but it's what I've been using for awhile.
(menu-bar-mode 0) (tool-bar-mode 0) should be sufficient. If these are meant for a situation without a windowing system you can put them into a clause that applies when the window-system is nil. -- Greetings Pete It's not the valleys in life I dread so much as the dips. – Garfield