tool-bar-mode not available under Cygwin console Emacs.
--- a/.emacs-my Thu Oct 21 16:33:32 2010 +0300
+++ b/.emacs-my Fri Oct 29 11:53:38 2010 +0300
@@ -97,8 +97,9 @@
) )
(menu-bar-mode -1)
-(tool-bar-mode -1)
(when window-system
+ (scroll-bar-mode 1)
+ (tool-bar-mode -1)
(defun my-popup-menu ()
(interactive)
(mouse-popup-menubar
@@ -109,7 +110,6 @@
(global-set-key [apps] 'my-popup-menu)
(global-set-key [menu] 'my-popup-menu)
(when (>= emacs-major-version 22) (tooltip-mode -1))
- (scroll-bar-mode 1)
)
(setq frame-title-format "Emacs - %b")