Permalink
Browse files

Make emacs not scroll out of control from the mouse wheel.

  • Loading branch information...
1 parent 68f7c39 commit 07eec1459bb42961477ad4ba024998329332ce60 @jpr5 jpr5 committed Aug 25, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 .emacs.d/settings.el
View
4 .emacs.d/settings.el
@@ -22,6 +22,10 @@
(setq-default completion-ignore-case t)
(setq-default fill-column 80)
+;; Don't let the mouse overscroll the window!
+(setq mouse-wheel-scroll-amount '(1))
+(setq mouse-wheel-progressive-speed nil)
+
;; Override standard grep mechanism and use tramp for ssh.
(setq grep-command "grep --color=never -rw -nH ")
(setq tramp-default-method "ssh")

0 comments on commit 07eec14

Please sign in to comment.