From b91e17243187d342a5d67cb61934dfb6567acfc6 Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Wed, 2 May 2018 19:12:21 +0300 Subject: [PATCH] gnu: Add emacs-highlight-defined. * gnu/packages/emacs.scm (emacs-highlight-defined): New public variable. --- gnu/packages/emacs.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 40fd389f11..cc21ad0580 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -9875,3 +9875,25 @@ compilation/grep buffers. Works with @code{wgrep}, @code{ack}, @code{ag}, @code{shift-number-up} to increase and @code{shift-number-down} to decrease the number at point.") (license license:gpl3+))) + +(define-public emacs-highlight-defined + (package + (name "emacs-highlight-defined") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/Fanael/highlight-defined/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ryd66989b5byqdw8jmjrjf0c78iiz72wibld750skcnj5h5h506")))) + (build-system emacs-build-system) + (home-page "https://github.com/Fanael/highlight-defined") + (synopsis "Syntax highlighting of known Elisp symbols") + (description "Minor mode providing syntax highlighting of known Emacs Lisp +symbols. Currently the code distinguishes Lisp functions, built-in functions, +macros, faces and variables. To enable call @code{highlight-defined-mode}. ") + (license license:gpl3+)))