summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2018-05-02 19:02:47 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2018-05-02 20:17:11 +0300
commitf61ecb8546299049567b885c8d87f77fe2c0fde8 (patch)
treebff7706a5d8012092416e3fc60fc3b652087c365 /gnu/packages
parentb8ddef4b134ee19bd1fbbeb81c26cdef36d328fa (diff)
gnu: Add emacs-beginend.
* gnu/packages/emacs.scm (emacs-beginend): New public variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/emacs.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index c5b43c86b5..bde1bd01e4 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -8916,3 +8916,28 @@ until the top-level form is no longer a macro call.")
(description
"This package provides Company backend for Lua programming language.")
(license license:gpl3+))))
+
+(define-public emacs-beginend
+ (package
+ (name "emacs-beginend")
+ (version "2.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/DamienCassou/beginend/archive/"
+ "v" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0z4rbwffh9vxfvcrlvym4p73z7gf72q0b5iv33llbpcpbijknnrq"))))
+ ;; TODO: Run tests.
+ (build-system emacs-build-system)
+ (inputs
+ `(("emacs-undercover" ,emacs-undercover))) ; For tests.
+ (home-page "https://github.com/DamienCassou/beginend")
+ (synopsis "Redefine @code{M-<} and @code{M->} for Emacs modes")
+ (description "@code{beginend} redefines @code{M-<} and @code{M->}
+keybindings for Emacs modes so that point moves to meaningful
+locations. Redefined keys are still accessible by pressing the same
+key again.")
+ (license license:gpl3+)))