(require 'init-frame-hooks)

(global-set-key [mouse-4] (lambda () (interactive) (scroll-down 1)))
(global-set-key [mouse-5] (lambda () (interactive) (scroll-up 1)))

(autoload 'mwheel-install "mwheel")

(defun sanityinc/console-frame-setup ()
  (xterm-mouse-mode 1) ; Mouse in a terminal (Use shift to paste with middle button)
  (mwheel-install))



(add-hook 'after-make-console-frame-hooks 'sanityinc/console-frame-setup)

(provide 'init-xterm)

(require 'init-frame-hooks)

(global-set-key [mouse-4] (lambda () (interactive) (scroll-down 1)))
(global-set-key [mouse-5] (lambda () (interactive) (scroll-up 1)))

(defun sanityinc/console-frame-setup ()
  (xterm-mouse-mode 1) ; Mouse in a terminal (Use shift to paste with middle button)
  (mwheel-install))



(add-hook 'after-make-console-frame-hooks 'sanityinc/console-frame-setup)

(provide 'init-xterm)

Remove defunct autoload for mwheel-install
Remove defunct autoload for mwheel-install

lust4life/emacs.d,cjqw/emacs.d,dcorking/emacs.d,purcell/emacs.d,kongfy/emacs.d,gsmlg/emacs.d,emuio/emacs.d,blueseason/emacs.d,baohaojun/emacs.d,sgarciac/emacs.d,qianwan/emacs.d,me020523/emacs.d,arthurl/emacs.d,svenyurgensson/emacs.d,roxolan/emacs.d,kindoblue/emacs.d,wegatron/emacs.d,braveoyster/emacs.d,krzysz00/emacs.d,blueabysm/emacs.d,benkha/emacs.d,mmqmzk/emacs.d