aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2019-03-27 16:22:08 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2019-03-27 20:41:29 +0100
commit24540c310f4404431b4f28fc83afbb49a3c50b2f (patch)
tree7d72da00b89058badc203569dbccdcbb106b2473 /gnu
parentc881ed8698517a2c2007c2fdc3a7aeec52ff109c (diff)
downloadpatches-24540c310f4404431b4f28fc83afbb49a3c50b2f.tar
patches-24540c310f4404431b4f28fc83afbb49a3c50b2f.tar.gz
gnu: Add emacs-relint.
* gnu/packages/emacs-xyz.scm (emacs-relint): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 03182a9c3f..7dd3c079b2 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -777,6 +777,29 @@ skip set strings, which are arguments to @code{skip-chars-forward} and
@code{skip-chars-backward}.")
(license license:gpl3+)))
+(define-public emacs-relint
+ (package
+ (name "emacs-relint")
+ (version "1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://elpa.gnu.org/packages/relint-" version ".el"))
+ (sha256
+ (base32
+ "0y7lki2vndpkmzg4k0yh2722hp01qr77vm337xnm8wp3bmwn8s1f"))))
+ (build-system emacs-build-system)
+ (propagated-inputs `(("emacs-xr" ,emacs-xr)))
+ (home-page "https://github.com/mattiase/relint")
+ (synopsis "Elisp regexp mistake finder")
+ (description
+ "Relint (regular expression lint) scans Elisp files for mistakes in
+regexps, including deprecated syntax and bad practice. It also checks the
+regexp-like arguments to @code{skip-chars-forward} and
+@code{skip-chars-backward}.")
+ (license license:gpl3+)))
+
;;;
;;; Web browsing.