Disabled mouse action on Emacs
Intoroduce disable-mouse package
I was bothered Emacs unexpectedly pop up menu on my Jessie and looking for how to disable this pop up, and find a package to do it, named disable-mouse. This package is provided via melpa.
Installation procedure
The section added to init.el
;; Package configuration (if (< emacs-major-version 24) ;; For important compatibility libraries like cl-lib (progn (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")) (package-initialize)) (progn (require 'package) (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t) (package-initialize))) ... ;; Disable mouse (require 'disable-mouse) (global-disable-mouse-mode)