gnu: Add emacs-auto-dictionary-mode.

* gnu/packages/emacs-xyz.scm (emacs-auto-dictionary-mode): New variable.
This commit is contained in:
Mathieu Othacehe 2020-02-11 16:46:36 +01:00
parent 89d3869b94
commit 4835f86292
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -18,7 +18,7 @@
;;; Copyright © 2016, 2017, 2018 Alex Vong <alexvong1995@gmail.com>
;;; Copyright © 2016, 2017, 2018, 2019 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2017 Christopher Baines <mail@cbaines.net>
;;; Copyright © 2017, 2018, 2019 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2017, 2018, 2019, 2020 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2017, 2018, 2019 Clément Lassieur <clement@lassieur.org>
;;; Copyright © 2017 Vasile Dumitrascu <va511e@yahoo.com>
;;; Copyright © 2017, 2018 Kyle Meyer <kyle@kyleam.com>
@ -21431,3 +21431,25 @@ (define-public emacs-gnus-harvest
be easily and quickly queried to determine the completion list. It optionally
uses BBDB and Message-X.")
(license license:gpl3+))))
(define-public emacs-auto-dictionary-mode
(package
(name "emacs-auto-dictionary-mode")
(version "1.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/nschum/auto-dictionary-mode")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "191294k92qp8gmfypf0q8j8qrym96aqikzvyb9p03wqvbr3r1dsk"))))
(build-system emacs-build-system)
(home-page "http://nschum.de/src/emacs/auto-dictionary/")
(synopsis "Automatic dictionary switcher for Emacs spell checking")
(description "@code{auto-dictionary} is a minor mode that hooks into
Flyspell's on-the-fly spell checking and extends these checks to also detect
language. Auto-dictionary then sets @code{ispell-dictionary} to use the
detected language.")
(license license:gpl2+)))