aboutsummaryrefslogtreecommitdiff
path: root/emacs/guix-command.el
diff options
context:
space:
mode:
authorAlex Kost <alezost@gmail.com>2015-11-17 21:59:41 +0300
committerAlex Kost <alezost@gmail.com>2016-01-02 17:25:35 +0300
commit778437ed9f4586370512768f06bfd9c33c3906a2 (patch)
treec1554a66a2974d233c29496f196e82d0dad4e668 /emacs/guix-command.el
parentb98939088987b68fd41d85226e30650d6dd7e80e (diff)
downloadguix-778437ed9f4586370512768f06bfd9c33c3906a2.tar.gz
guix-778437ed9f4586370512768f06bfd9c33c3906a2.zip
emacs: Use "cl-list*" instead of "apply #'list".
* emacs/guix-command.el (guix-run-view-build-log): Use cl-list*. (guix-run-view-size-map): Likewise. * emacs/guix-external.el (guix-dot-arguments): Likewise.
Diffstat (limited to 'emacs/guix-command.el')
-rw-r--r--emacs/guix-command.el9
1 files changed, 4 insertions, 5 deletions
diff --git a/emacs/guix-command.el b/emacs/guix-command.el
index ccd85d25b9..9cb7032abc 100644
--- a/emacs/guix-command.el
+++ b/emacs/guix-command.el
@@ -690,7 +690,7 @@ Perform pull-specific actions after operation, see
open the log file(s)."
(let* ((args (if (member "--log-file" args)
args
- (apply #'list (car args) "--log-file" (cdr args))))
+ (cl-list* (car args) "--log-file" (cdr args))))
(output (guix-command-output args))
(files (split-string output "\n" t)))
(dolist (file files)
@@ -715,10 +715,9 @@ open the log file(s)."
(map-file (or wished-map-file (guix-png-file-name)))
(args (if wished-map-file
args
- (apply #'list
- (car args)
- (concat "--map-file=" map-file)
- (cdr args)))))
+ (cl-list* (car args)
+ (concat "--map-file=" map-file)
+ (cdr args)))))
(guix-command-output args)
(guix-find-file map-file)))