diff options
author | Jan Nieuwenhuizen <janneke@gnu.org> | 2017-05-26 12:29:04 +0200 |
---|---|---|
committer | Jan Nieuwenhuizen <janneke@gnu.org> | 2017-05-26 15:13:04 +0200 |
commit | 7a0efa77a47a81f8611a753d5a56f4d890ebe9de (patch) | |
tree | 5e32737b4ef32359432157d5f163d8b9053d93d9 /gnu/packages/emacs.scm | |
parent | 013e1e853bcbad925225a66e1ed03220d8611fb3 (diff) | |
download | guix-7a0efa77a47a81f8611a753d5a56f4d890ebe9de.tar.gz |
gnu: Add emacs-disable-mouse.
* gnu/packages/emacs.scm (emacs-disable-mouse): New variable.
Diffstat (limited to 'gnu/packages/emacs.scm')
-rw-r--r-- | gnu/packages/emacs.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index dfbb1cedc0..a85177d814 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -25,6 +25,7 @@ ;;; Copyright © 2017 Kei Kebreau <kei@openmailbox.org> ;;; Copyright © 2017 George Clemmer <myglc2@gmail.com> ;;; Copyright © 2017 Feng Shu <tumashu@163.com> +;;; Copyright © 2017 Jan Nieuwenhuizen <janneke@gnu.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -4853,3 +4854,26 @@ Emacs.") using ERT. It assumes a certain test structure setup and can therefore make running tests easier.") (license license:gpl3+)))) + +(define-public emacs-disable-mouse + (package + (name "emacs-disable-mouse") + (version "0.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/purcell/disable-mouse/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0haqpq23r1wx04lsqrrg3p5visg9hx5i36dg55ab003wfsrlrzbc")))) + (build-system emacs-build-system) + (home-page "https://github.com/purcell/disable-mouse") + (synopsis "Disable mouse commands globally") + (description + "Provides @code{disable-mouse-mode} and @code{global-disable-mouse-mode}, +pair of minor modes which suppress all mouse events by intercepting them and +running a customisable handler command (@code{ignore} by default). ") + (license license:gpl3+))) |