emacs: use (tool-bar-mode -1) only in gui