.emacs-my
changeset 439 a1910375f39e
parent 438 740efbdc5777
child 442 bf31b8f54b4a
--- a/.emacs-my	Tue Aug 03 23:10:27 2010 +0300
+++ b/.emacs-my	Wed Aug 04 22:32:57 2010 +0300
@@ -358,7 +358,9 @@
 (global-set-key [vertical-scroll-bar down-mouse-1] 'scroll-bar-drag)
 ;; Paste at point NOT at cursor
 (setq mouse-yank-at-point t)
-(mouse-wheel-mode 1)
+(when window-system
+  (mouse-wheel-mode 1)
+  )
 
 ;; ----------------------------------------------------------------------
 ;; key binding, short-keys.