;; Set the frame title to the name of the buffer, if supported.
(setq frame-title-format "%b")
-;; Disable the menu/tool bars
+;; Disable the menu/tool bars when we're using X.
(menu-bar-mode -1)
-(tool-bar-mode -1)
+(when window-system
+ (tool-bar-mode -1))
;; And put the damned scroll bar on the correct side.
-(set-scroll-bar-mode 'right)
+(when window-system
+ (set-scroll-bar-mode 'right))
;; The most important statement in this file.
;; Do not display a splash screen on startup.