summary refs log tree commit diff
path: root/emacs/guix-external.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-external.el
parentb98939088987b68fd41d85226e30650d6dd7e80e (diff)
downloadguix-778437ed9f4586370512768f06bfd9c33c3906a2.tar.gz
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-external.el')
-rw-r--r--emacs/guix-external.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/emacs/guix-external.el b/emacs/guix-external.el
index c80b36343d..f571ffd845 100644
--- a/emacs/guix-external.el
+++ b/emacs/guix-external.el
@@ -23,6 +23,7 @@
 
 ;;; Code:
 
+(require 'cl-lib)
 (require 'guix-config)
 
 (defgroup guix-external nil
@@ -67,10 +68,9 @@ If ARGS is nil, use `guix-dot-default-arguments'."
   (or guix-dot-program
       (error (concat "Couldn't find 'dot'.\n"
                      "Set guix-dot-program to a proper value")))
-  (apply #'list
-         guix-dot-program
-         (concat "-o" output-file)
-         (or args guix-dot-default-arguments)))
+  (cl-list* guix-dot-program
+            (concat "-o" output-file)
+            (or args guix-dot-default-arguments)))
 
 (defun guix-dot-file-name ()
   "Call `guix-dot-file-name-function'."