summaryrefslogtreecommitdiff
path: root/emacs/guix-base.el
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2015-08-12 14:36:41 +0300
committerAlex Kost <alezost@gmail.com>2015-08-30 18:26:02 +0300
commit056b5ceffce3d20b603567a8ce641ae8975f8d62 (patch)
tree019d5b5600eabcbb58e51596b21ae22d699d9b1d /emacs/guix-base.el
parent521a11e0a68b54bbacbb4912d622a29cfc86c153 (diff)
downloadgnu-guix-056b5ceffce3d20b603567a8ce641ae8975f8d62.tar
gnu-guix-056b5ceffce3d20b603567a8ce641ae8975f8d62.tar.gz
emacs: Add 'guix-lint-checker-names'.
* emacs/guix-main.scm: Use (guix scripts lint) module. (lint-checker-names): New procedure. * emacs/guix-base.el (guix-lint-checker-names): New function.
Diffstat (limited to 'emacs/guix-base.el')
-rw-r--r--emacs/guix-base.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/emacs/guix-base.el b/emacs/guix-base.el
index 76974e12ab..daf15bf45b 100644
--- a/emacs/guix-base.el
+++ b/emacs/guix-base.el
@@ -1,6 +1,6 @@
;;; guix-base.el --- Common definitions -*- lexical-binding: t -*-
-;; Copyright © 2014 Alex Kost <alezost@gmail.com>
+;; Copyright © 2014, 2015 Alex Kost <alezost@gmail.com>
;; This file is part of GNU Guix.
@@ -181,6 +181,13 @@ If PATH is relative, it is considered to be relative to
(message "Couldn't find package location."))))
+;;; Receivable lists of packages, lint checkers, etc.
+
+(guix-memoized-defun guix-lint-checker-names ()
+ "Return a list of names of available lint checkers."
+ (guix-eval-read (guix-make-guile-expression 'lint-checker-names)))
+
+
;;; Buffers and auto updating.
(defcustom guix-update-after-operation 'current