emacs: Use (guix scripts lint) only when needed.

* emacs/guix-main.scm: Do not use (guix scripts pull) module.
(lint-checker-names): Adjust to use it.
This commit is contained in:
Alex Kost 2016-03-31 21:36:18 +03:00
parent 7d0978f56f
commit 619ff9066d

View file

@ -58,7 +58,6 @@
(guix licenses)
(guix utils)
(guix ui)
(guix scripts lint)
(guix scripts package)
(gnu packages)
(gnu system))
@ -1022,8 +1021,9 @@ (define (refresh-updater-names)
(define (lint-checker-names)
"Return a list of names of available lint checkers."
(map (lambda (checker)
(symbol->string (lint-checker-name checker)))
%checkers))
(symbol->string ((@ (guix scripts lint) lint-checker-name)
checker)))
(@ (guix scripts lint) %checkers)))
(define (package-names)
"Return a list of names of available packages."